calculate_pars_correlation: Correlation Between Model Parameters Sensitivities

Description Usage Arguments Examples

View source: R/optimize_ref_temp.R

Description

Correlation Between Model Parameters Sensitivities

Usage

1
2
calculate_pars_correlation(inactivation_model, parms, temp_profile,
  parms_fix, n_times = 100, sensvar = "logN")

Arguments

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. "logN" by default.

Examples

1
2
3
4
5
6
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)

bioOED documentation built on Aug. 7, 2019, 5:03 p.m.