| calculate_pars_correlation | R Documentation |
Correlation Between Model Parameters Sensitivities
calculate_pars_correlation(inactivation_model, parms, temp_profile, parms_fix, n_times = 100, sensvar = "logN")
inactivation_model |
Character defining the inactivation model to use. |
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. |
sensvar |
The output variable for which the sensitivity will be
estimated. |
parms_fix <- c(temp_ref = 57.5)
parms <- c(delta_ref = 3.9, z = 4.2, p = 1, N0 = 1e6)
temp_profile <- data.frame(time = c(0, 60), temperature = c(30, 60))
correlations <- calculate_pars_correlation("Mafart", parms,
temp_profile, parms_fix)
plot(correlations)