unbal.two.factor.rep: Measure of (unadjusted) repeatability with missing values

View source: R/All_Rep_Code.R

unbal.two.factor.repR Documentation

Measure of (unadjusted) repeatability with missing values

Description

Measure of (unadjusted) repeatability with missing values

Usage

unbal.two.factor.rep(dataset, k.est.meth = 1, gamma = 1)

Arguments

dataset

data frame of diet estimates. Columns 1 and 2 of dataset must be the first and second factors in your two factor ANOVA model where column 1 specifies the predator and column 2 the year, season, etc... Missing values are allowed.

k.est.meth

default is 1 (harmonic mean). See details below.

gamma

needed to compute CS distance. Default is 1.

Details

We use the modified measure of repeatability that uses an adjusted degrees of freedom and takes into account the estimate of k. When k.est.meth=1, the harmonic mean is used (see p. 212 from Biometry Fourth Edition by Sokal and Rohlf) and when k.est.meth=2,estimate is n_0 from Lessels and Boag (1987).

Value

unadjusted consistent repeatability, unadjusted absolute repeatability and a modified measure of repeatability.


justinkamerman/QFASA documentation built on Nov. 17, 2023, 12:33 p.m.