sincos: sin/cos pairs for modeling

Description Usage Arguments Value Author(s) References Examples

View source: R/sincos.R

Description

Compute the sin and cos of x.

Usage

1
sincos(x, period = 168/2/pi)

Arguments

x

a vector

period

a scalar, which x is scaled by

Value

a matrix containing a _sin and _cos column

Author(s)

Neal Fultz

References

https://stackoverflow.com/questions/51874305/tuple-variable-in-r-regression-model/54393605#54393605

Examples

1
2

stackoverflow documentation built on Jan. 10, 2020, 9:07 a.m.