R/pr_calc_temp_sens.R
pr_calc_temp_sens.Rd
Calculates the temperature sensitivity of a model (and parameters)
pr_calc_temp_sens(par, data, model, ...)
a vector of parameter values, this is functions specific
a nested list of data formatted using one of the format_*() functions
the model name to be used in optimizing the model
extra arguments to pass to the function
returns a temperature sensitivity as days per degree celsius
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")
}