powered by
sincos creates an full set of trigonometric variables.
sincos
sincos(Y, n.ahead = 0, constant = FALSE)
an object of class ts used to determine the sample period and frequency.
ts
number of additional observations to extend the sample period.
logical indicator to include a column of ones.
A matrix of trigonometric variables.
# NOT RUN { Y <- AirPassengers P58 <- sincos(Y) # }
Run the code above in your browser using DataLab