pr_calc_temp_sens: Calculates the temperature sensitivity of a model (and...

View source: R/pr_calc_temp_sens.R

pr_calc_temp_sensR Documentation

Calculates the temperature sensitivity of a model (and parameters)

Description

Calculates the temperature sensitivity of a model (and parameters)

Usage

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


## Not run: 

# 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")


## End(Not run)

bluegreen-labs/phenor documentation built on Sept. 2, 2023, 10:34 a.m.