Description Usage Arguments Value See Also Examples
View source: R/estimate_growth_rate.R
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.
1 2 3 4 5 6 7 | get_growth_fit_for_plot(
OD_data,
t_col = "time",
growth_fit,
blank_tf = T,
verbose = T
)
|
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? |
Simulated log growth matching the input fits.
Other growth rate functions:
.logist()
,
estimate_growth_rate()
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.