fit_growth_grofit_spline: Fit Smooth Splines to Growth Data (Using grofit)

Description Usage Arguments Value See Also Examples

Description

fit_growth_grofit_spline fits a smooth spline to a tidy growth data set using gcFitSpline from the grofit package.

Usage

1
2
3

Arguments

df

a data frame

time

column in df that contains time data

data

column in df that contains growth data (default: TRUE)

...

Additional arguments for gcFitSpline

time_col

String giving the name of the column in df that contains time data

data_col

String giving the name of the column in df that contains growth data

Value

A growthcurve object

See Also

fit_growth_spline, growthcurve's native function for fitting smooth splines to growth data

grofit_wrappers

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# Fit the data given in columns Time and OD600
fit_growth_grofit_spline(mydata, Time, OD600)
## End(Not run)

## Not run: 
# Fit the data given in columns Time and OD600
fit_growth_grofit_spline_(df=mydata, time_col = "Time", data_col = "OD600")
## End(Not run)

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