Description Usage Arguments Value Examples

View source: R/helper_functions.R

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

1 | ```
AICc(measured, predicted, k)
``` |

`measured` |
a vector with measurement values to smooth |

`predicted` |
a vector with dates / time steps |

`k` |
optional values to weigh the loess fit with |

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

1 2 3 4 5 6 | ```
## Not run:
model_AIC <- AICc(measured, predicted, k)
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.