growthcurve: Create 'growthcurve' Objects

Description Usage Arguments Value

Description

growthcurve creates growthcurve objects, which contain information about a function fitted to biological growth data

is.growthcurve determines whether or not the given object is a growthcurve

Usage

1
2
3
growthcurve(type, model, fit, f, parameters, df, time_col, data_col)

is.growthcurve(x)

Arguments

type

A string describing the fit (e.g., "logistic")

model

A model object, such as a nls or smooth.spline

fit

A list containing x and y values for the fit

f

A function f(x) that maps a time value x to a growth value using the model

parameters

A list containing growth parameters (e.g., asymptote) calculated by the specific model

df

A data frame containing the raw growth data

time_col

A string with the name of the column containing time data

data_col

A string with the name of the column containing the growth data

x

A potential growthcurve object

Value

A growthcurve object

is.growthcurve returns a logical value indicating whether x is a growthcurve object (TRUE) or not (FALSE).


briandconnelly/growthcurve documentation built on May 13, 2019, 5:13 a.m.