Usage
compareGrowthCurves(group,y,levels=NULL,nsim=100,fun=meanT,times=NULL,verbose=TRUE,adjust="holm")
compareTwoGrowthCurves(group,y,nsim=100,fun=meanT)
Arguments
group
vector or factor indicating group membership. Missing values are allowed in compareGrowthCurves
but not in compareTwoGrowthCurves
.
y
matrix of response values with rows for individuals and columns for times. The number of rows must agree with the length of group
. Missing values are allowed.
levels
a character vector containing the identifiers of the groups to be compared. By default all groups with two more more members will be compared.
nsim
number of permutations to estimated p-values.
fun
the statistic used to measure the distance between two groups of growth curves.
Default to a mean t-statistic.
times
a numeric vector containing the column numbers on which the groups should be compared.
By default all the columns are used.
verbose
should progress results be printed?
adjust
method used to adjust for multiple testing, see p.adjust
.