sin/cos pairs for modeling
Compute the sin and cos of x.
sincos(x, period = 168/2/pi)
x |
a vector |
period |
a scalar, which x is scaled by |
a matrix containing a _sin and _cos column
data(sunspots) lm(sunspots~sincos(time(sunspots), 5/pi))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.