| splitContGRdiff | R Documentation |
data.frameUses AGRdiff, PGR and
RGRdiff to calculate growth rates continuously
over time for a subset of the values of response and
stores the results in data. The subsets are those values
with the same levels combinations of the factors listed in
INDICES.
splitContGRdiff(data, responses, INDICES,
which.rates = c("AGR","PGR","RGR"), suffices.rates=NULL,
times.factor = "Days")
data |
A |
responses |
A |
INDICES |
A |
which.rates |
A |
times.factor |
A |
suffices.rates |
A |
A data.frame containing data to which has been
added a column for the differences between the times.factor,
if it is not already in data, and
columns with growth rates. The name of the column for times.factor
differences will be the times.factor with ".diff" appended and,
for each of the growth-rate columns will
be the value of response with one of ".AGR", ".PGR"
or "RGR" or the corresponding value from suffices.GR
appended.
Chris Brien
fitSpline, splitSplines
data(exampleData)
longi.dat <- splitContGRdiff(longi.dat, response="Area.smooth",
INDICES = "Snapshot.ID.Tag", which.rates=c("AGR", "RGR"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.