AICc: Calculates AICc values for a set of measured and predicted...

Description Usage Arguments Value Examples

View source: R/helper_functions.R

Description

Calculates AICc values for a set of measured and predicted values together with the number of model parameters used

Usage

1
AICc(measured, predicted, k)

Arguments

measured

a vector with measurement values to smooth

predicted

a vector with dates / time steps

k

optional values to weigh the loess fit with

Value

returns the AIC for measured and predicted values for use in model comparison and selection

Examples

1
2
3
4
5
6
## Not run: 

model_AIC <- AICc(measured, predicted, k)


## End(Not run)

khufkens/phenor documentation built on Oct. 4, 2019, 1:32 a.m.