powered by
Estimates the variance in the sample not due to measurement error
CalcRepeatability(ID, ind.data)
vector of repeatabilities
identity of individuals
individual measurements
Guilherme Garcia
Lessels, C. M., and Boag, P. T. (1987). Unrepeatable repeatabilities: a common mistake. The Auk, 2(January), 116-121.
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)
Run the code above in your browser using DataLab