check_secondary_pars {biogrowth} R Documentation

## 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.

[Package biogrowth version 1.0.1 Index]