AICc: Calculates AICc values

View source: R/helper_functions.R

AICcR Documentation

Calculates AICc values

Description

Uses a set of measured and predicted values together with the number of model parameters used

Usage

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


## Not run: 

model_AIC <- AICc(measured, predicted, k)


## End(Not run)

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