sincos | R Documentation |
sincos
creates an full set of trigonometric variables.
sincos(Y, n.ahead = 0, constant = FALSE)
Y |
an object of class |
n.ahead |
number of additional observations to extend the sample period. |
constant |
logical indicator to include a column of ones. |
A matrix of trigonometric variables.
Y <- AirPassengers P58 <- sincos(Y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.