Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

intFun.iav

Inter-annual variability


Description

This function computes the inter-annual variability. All data must start in January. All months after the last Dec will be dropped if data does not end in December.

Usage

intFun.iav(anom)

Arguments

anom

R object with monthly anomalies

Value

R object with inter-annual variability

Examples

# make some data
month <- seq(1,12,1)
month <- rep(month,10)
mod <- runif(length(month), 0,100)
mod <- data.frame(month, mod)
# compute climatological mean monthly values
index <- list(mod$month)
mod.clim.mly <- apply(mod, 2, function(x) {tapply(x, index, mean, na.rm=TRUE)})
mod.anom <- intFun.anom.mly(mod, mod.clim.mly)
mod.iav <- intFun.iav(mod.anom)

amber

Automated Model Benchmarking R Package

v1.0.3
GPL-3
Authors
Christian Seiler [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.