splitValueCalculate(response, weights=NULL, individuals = "Snapshot.ID.Tag", FUN = "max", which.obs = FALSE, which.levels = NULL, data, na.rm=TRUE, sep=".", ...)character giving the name of the column in
data from which the values of FUN are to be
calculated.character giving the name of the column in
data containing the weights to be supplied as w
to FUN.character giving the name(s) of the
factor(s) that define the subsets of the data for
which each subset corresponds to the response value for an
individual.character giving the name of the function
that calculates the value for each subset.logical indicating whether or not to determine
the observation corresponding to the value of the function,
instead of the value of the function itself.data.frame containing the column from which the
function is to be calculated.logical indicating whether NA values
should be stripped before the calculation proceeds.FUN.data.frame, with the same number of rows as there are
individuals, containing the values of the function for the
individuals.splitContGRdiff, splitSplinesdata(exampleData)
Area.smooth.max <- splitValueCalculate("Area.smooth", data = longi.dat)
Run the code above in your browser using DataLab