cvmae: Coefficient of Variation of the Mean Absolute Error

View source: R/cost_functions.r

cvmaeR Documentation

Coefficient of Variation of the Mean Absolute Error

Description

Coefficient of Variation of the Mean Absolute Error

Usage

cvmae(par, data, model, ...)

Arguments

par

a vector of parameter values, this is functions specific

data

nested data structure with validation data as returned by format_phenocam() or format_pep725(), or your own dataset adhering to the same data structure.

model

the model name to be used in optimizing the model

...

extra arguments to pass to the function

Value

the CVMAE comparing observed and estimated values

Examples


# The cost function returns the CVMAE between the
# true values and those generated by the model given a
# parameterset par.
## Not run: 
cost_value = cvmae(par, data, model="TTs")

## End(Not run)

khufkens/phenor documentation built on Aug. 31, 2023, 1:24 a.m.