View source: R/fit_secondary_models.R
calculate_gammas_secondary | R Documentation |
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.
calculate_gammas_secondary(sec_model_names, my_data, secondary_models)
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. |
a numeric vector of length nrow(my_data)
with the gamma factor
for each experimental condition.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.