hr {itsmr} | R Documentation |
Estimate harmonic components
Description
Estimate harmonic components
Usage
hr(x, d)
Arguments
x |
Time series data |
d |
Vector of harmonic periods |
Value
Returns a vector the same length as x
.
Subtract from x
to obtain residuals.
Examples
y = hr(deaths,c(12,6))
plotc(deaths,y)
[Package itsmr version 1.10 Index]