calculate_gammas_secondary {biogrowth} | R Documentation |
Gamma factors for fitting secondary models
Description
A helper for fitting the secondary gamma models. Calculates the gamma factors corresponding to the models defined and the experimental conditions. In order for it to work, the environmental factors must be named identically in the 3 arguments.
Usage
calculate_gammas_secondary(sec_model_names, my_data, secondary_models)
Arguments
sec_model_names |
named character vector defining the type of secondary model. Its names correspond to the environmental conditions and its values define the corresponding type of secondary model. |
my_data |
Tibble of experimental conditions. |
secondary_models |
A list defining the parameters of the secondary models. |
Value
a numeric vector of length nrow(my_data)
with the gamma factor
for each experimental condition.
[Package biogrowth version 1.0.4 Index]