get_growth_fit_for_plot: Growth fit for plotting 'get_growth_fit_for_plot' computes a...

Description Usage Arguments Value See Also Examples

View source: R/estimate_growth_rate.R

Description

Growth fit for plotting get_growth_fit_for_plot computes a vector of the fit of the growth data, for comparison against the OD data.

Usage

1
2
3
4
5
6
7
get_growth_fit_for_plot(
  OD_data,
  t_col = "time",
  growth_fit,
  blank_tf = T,
  verbose = T
)

Arguments

OD_data

Dataframe of OD data. Expects a column for the time (t_col), and will interpret all other columns as OD data for different samples (identified by their column name).

t_col

Name of the time column (defaults to 'time').

growth_fit

Output of estimate_growth_rate for the OD_data; requires columns name, carrying_cap, growth_rate, N0, t_min, t_stat

blank_tf

Boolean. Should a blank value be subtracted?

verbose

Boolean. Should warnings be returned?

Value

Simulated log growth matching the input fits.

See Also

Other growth rate functions: .logist(), estimate_growth_rate()

Examples

1
2
growth_fit <- estimate_growth_rate(growth_example, t_start = 1, t_col = 'Time_h')
get_growth_fit_for_plot(growth_example, t_col = 'Time_h', growth_fit)

JSHuisman/conjugator documentation built on Dec. 18, 2021, 12:27 a.m.