get.gr: Extract exponential growth rate assuming exponential growth

Description Usage Arguments Value

View source: R/tools.R

Description

This function fits a linear model to ln(abundance) data.

Usage

1
get.gr(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 linear model regressing ln(abundance) on time


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