get.gr.lag: Extract exponential growth rate assuming lagged exponential...

Description Usage Arguments Value

View source: R/tools.R

Description

This function fits a smoothed piecewise linear model to ln(abundance) data, with the assumption that abundances are nearly constant for several time points, before exponential growth kicks in.

Usage

1
get.gr.lag(x, y, plotQ = F, fpath = NA, id = "")

Arguments

x

Time steps

y

ln(abundance)

plotQ

logical; should the fit be plotted?

fpath

character; path specifying where plot should be saved, if generated

id

Label corresponding to the population/strain/species of interest

Value

This function returns a nonlinear least-squares regression model


ctkremer/growthTools documentation built on July 27, 2021, 4:19 p.m.