Compares the prediction corresponding to a guess of the parameters of the primary model against experimental data
show_guess_primary(
fit_data,
model_name,
guess,
logbase_mu = 10,
formula = logN ~ time
)A ggplot2::ggplot() comparing the model prediction against the data
Tibble (or data.frame) of data for the fit. It must have two columns, one with
the elapsed time (time by default) and another one with the decimal logarithm
of the populatoin size (logN by default). Different column names can be
defined using the formula argument.
Character defining the primary growth model as per primary_model_data()
Named vector with the initial guess of the model parameters
Base of the logarithm the growth rate is referred to. By default, 10 (i.e. log10). See vignette about units for details.
an object of class "formula" describing the x and y variables.
logN ~ time as a default.