Description Usage Arguments Details Value
View source: R/optimize_ref_temp.R
Finds the optimum value of the reference temperature which minimizes the correlation between sensitivty functions of the model parameters.
1 2 | optimize_refTemp(temp_ref0, lower, upper, inactivation_model, parms,
temp_profile, parms_fix, n_times = 100)
|
temp_ref0 |
Initial value of the reference temperature to use for the optimization. |
lower |
Lower bound for the reference temperature. |
upper |
Upper bound for the reference temperature. |
inactivation_model |
Character identifying the inactivation model to use for the calculation. |
parms |
Numeric vector with the nominal values of the model parameters. |
temp_profile |
Data frame describing the environmental conditions. |
parms_fix |
Nominal value of the parameters not considered for the sensitivity. |
n_times |
Numeric value specifying the nombers of time points where the sensitivity functions will be calculated. 100 by default. |
The optimization is made using the optim
function. The
target for the optimization is the maximization of the determinant
of the correlation matrix between parameter sensitivities. The
Brent method is used, as it is the recommended one for unidimensional
optimization.
The parameters z and D/delta cannot be fixed.
The object returned by optim
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.