CalcRepeatability {evolqg} | R Documentation |
Parametric per trait repeatabilities
Description
Estimates the variance in the sample not due to measurement error
Usage
CalcRepeatability(ID, ind.data)
Arguments
ID |
identity of individuals |
ind.data |
individual measurements |
Value
vector of repeatabilities
Note
Requires at least two observations per individual
Author(s)
Guilherme Garcia
References
Lessels, C. M., and Boag, P. T. (1987). Unrepeatable repeatabilities: a common mistake. The Auk, 2(January), 116-121.
Examples
num.ind = length(iris[,1])
ID = rep(1:num.ind, 2)
ind.data = rbind(iris[,1:4], iris[,1:4]+array(rnorm(num.ind*4, 0, 0.1), dim(iris[,1:4])))
CalcRepeatability(ID, ind.data)
[Package evolqg version 0.3-4 Index]