show_guess_primary {biogrowth} | R Documentation |
Plot of the initial guess for growth under constant environmental conditions
Description
Compares the prediction corresponding to a guess of the parameters of the primary model against experimental data
Usage
show_guess_primary(
fit_data,
model_name,
guess,
logbase_mu = 10,
formula = logN ~ time
)
Arguments
fit_data |
Tibble (or data.frame) of data for the fit. It must have two columns, one with
the elapsed time ( |
model_name |
Character defining the primary growth model as per |
guess |
Named vector with the initial guess of the model parameters |
logbase_mu |
Base of the logarithm the growth rate is referred to. By default, 10 (i.e. log10). See vignette about units for details. |
formula |
an object of class "formula" describing the x and y variables.
|
Value
A ggplot()
comparing the model prediction against the data