mean_3years: Smooth over 3 years

View source: R/mean_3years.R

mean_3yearsR Documentation

Smooth over 3 years

Description

mean_ai smooth the value over 3 years (or 2 years at the start and the end of the serie)

Usage

mean_3years(data)

Arguments

data

the table in mean_IA to smooth. The mean AI column should be named "

Examples

year <- c(1985:1995)
AI_standard <- rnorm(10,0.5,0.1)
data_ex <- as.data.frame(cbind(year, AI_standard))
mean_3years(data_ex)

polehalieutique/demerstem documentation built on Aug. 4, 2024, 5:12 a.m.