AlphaRep {evolqg} | R Documentation |
Alpha repeatability
Description
Calculates the matrix repeatability using the equation in Cheverud 1996 Quantitative genetic analysis of cranial morphology in the cotton-top (Saguinus oedipus) and saddle-back (S. fuscicollis) tamarins. Journal of Evolutionary Biology 9, 5-42.
Usage
AlphaRep(cor.matrix, sample.size)
Arguments
cor.matrix |
Correlation matrix |
sample.size |
Sample size used in matrix estimation |
Value
Alpha repeatability for correlation matrix
Author(s)
Diogo Melo, Guilherme Garcia
References
Cheverud 1996 Quantitative genetic analysis of cranial morphology in the cotton-top (Saguinus oedipus) and saddle-back (S. fuscicollis) tamarins. Journal of Evolutionary Biology 9, 5-42.
See Also
Examples
#For single matrices
cor.matrix <- RandomMatrix(10)
AlphaRep(cor.matrix, 10)
AlphaRep(cor.matrix, 100)
#For many matrices
mat.list <- RandomMatrix(10, 100)
sample.sizes <- floor(runif(100, 20, 50))
unlist(Map(AlphaRep, mat.list, sample.sizes))
[Package evolqg version 0.3-4 Index]