Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

check_secondary_pars

Basic checks of secondary parameters


Description

Checks that the model names are correct, that no parameter is defined twice, that every parameter is defined and that no unknown parameter has been defined. Raises an error if any of these conditions is not met.

Usage

check_secondary_pars(
  starting_point,
  known_pars,
  sec_model_names,
  primary_pars = "mu_opt"
)

Arguments

starting_point

Named vector with initial values for the model parameters to estimate from the data. The growth rate under optimum conditions must be named mu_opt. The rest must be called 'env_factor'+'_'+'parameter'. For instance, the minimum pH for growth is 'pH_xmin'.

known_pars

Named vector of fixed model parameters. Must be named using the same convention as starting_point.

sec_model_names

Named character vector defining the secondary model for each environmental factor.

primary_pars

Character vector with the parameter names of the primary model.


biogrowth

Modelling of Population Growth

v0.2.0
GPL-3
Authors
Alberto Garre [aut, cre] (<https://orcid.org/0000-0002-4404-3550>), Jeroen Koomen [aut], Heidy den Besten [aut], Marcel Zwietering [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.