Calculates the temperature sensitivity of a model (and parameters)

pr_calc_temp_sens(par, data, model, ...)

Arguments

par

a vector of parameter values, this is functions specific

data

a nested list of data formatted using one of the format_*() functions

model

the model name to be used in optimizing the model

...

extra arguments to pass to the function

Value

returns a temperature sensitivity as days per degree celsius

Examples


if (FALSE) {

# model calibration with default parameters
# phenocam_DB, "TT" to estimate a parameter set
pars <- pr_fit()

# estimate temperatue sensitivity for a particular
# combination of data, parameters and model
sensitivity <- pr_calc_temp_sens(par = pars$par,
 data = phenocam_DB, model = "TT")

}