Learn R Programming

hierfstat (version 0.5-11)

yangex: Example data set from Yang (1998) appendix

Description

Reproduce the example data set used in Yang's paper appendix. The genotype (column genot) is invented

Usage

data(exhier)

Arguments

Value

pop

outermost level

spop

sub pop level

sspop

sub sub pop level

genot

dummy diploid genotype

References

Yang, R.C. (1998). Estimating hierarchical F-statistics. Evolution 52(4):950-956

Examples

Run this code
# NOT RUN {
data(yangex)
varcomp(yangex)
#the k matrix should be the same as matrix (A2) in Yang's appendix, p. 956
# }

Run the code above in your browser using DataLab