View source: R/index.annual.cycle.R
index.annual.cycle | R Documentation |
Computes several annual cycle statistics
index.annual.cycle(
ts,
dates,
type = c("phase", "min", "max", "amp", "relamp", "asymmetry"),
window.width = 61
)
ts |
A vector containing the data |
dates |
A character (or |
type |
Character string indicating the statistic. Currently implemented options are |
window.width |
Integer number indicating the width, in days, of the window used for moving average computation of the reference daily climatology. Default to 61 days. See details. |
Time series filter
A (circular) moving average daily climatology is calculated for each data series, considering a user-defined window width centered around lag 0.
A float number with the corresponding statistics.
Sven Kotlarski, S. Herrera, J. Bedia, D. San Martin, D. Maraun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.