Computes a measure of repeatability for a sample of predators with repeated diet estimate measurements (Balanced Case)
bal.rep.CI(
data,
B,
R,
CI = TRUE,
alpha,
prey.database,
fatcont.mat,
dist.meas,
ext.fa,
gamma.QFASA = 1,
gamma.rho = 1
)Bias corrected measure of repeatability, estimate of the bias and
(if CI=TRUE) a confidence interval for the true repeatability.
data frame of diet estimates. First column must denote the predator and second column the second factor (eg. year or season). Must contain the same number of repeated measurements for each predator.
number of pseudo predators samples to generate for bias calculation. Default is set to 50 because is slow to run.
number of bootstrap samples (i.e. R samples for each generated sample
of pseudo predators). Default is set to 100 because it is slow to run.
indicates if a confidence interval for rho is to be calculated. Default is FALSE since this is time consuming to obtain.
a (1-alpha/2)X100 percent confidence interval is calculated for rho
if CI=TRUE.
prey data base that was used to compute the QFASA diet
estimates in data. Will be used to generate pseudo predators.
data frame or matrix of length equal to the number of prey FA signatures in prey data base. First column is name of species and second column is lipid.
distance measure to use in p.QFASA.
subset of FAs to use.
if dist.meas=3, gamma is required. Default is 1.
value of gamma to be used to compute CS distance in repeatablity functions. Default is 1.