Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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

data(yangex)
varcomp(yangex)
#the k matrix should be the same as matrix (A2) in Yang's appendix, p. 956

hierfstat

Estimation and Tests of Hierarchical F-Statistics

v0.5-10
GPL (>= 2)
Authors
Jerome Goudet [aut, cre], Thibaut Jombart [aut], Zhian N. Kamvar [ctb], Eric Archer [ctb], Olivier Hardy [ctb]
Initial release
2021-11-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.