show_guess_dynamic {biogrowth} R Documentation

## Plot of the initial guess for growth under dynamic environmental conditions

### Description

Compares the prediction corresponding to a guess of the parameters of the model against experimental data

### Usage

show_guess_dynamic(
fit_data,
model_keys,
guess,
env_conditions,
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 (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. model_keys Named the equations of the secondary model as in fit_growth() guess Named vector with the initial guess of the model parameters as in fit_growth() env_conditions Tibble describing the variation of the environmental conditions for dynamic experiments. See fit_growth(). 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. logN ~ time as a default.

### Value

A ggplot() comparing the model prediction against the data

[Package biogrowth version 1.0.1 Index]