| hr | R Documentation | 
Estimate harmonic components
hr(x, d)
| x | Time series data | 
| d | Vector of harmonic periods | 
Returns a vector the same length as x.
Subtract from x to obtain residuals.
y = hr(deaths,c(12,6))
plotc(deaths,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.