harmonic | R Documentation |
Create a matrix of sine and cosine basis vectors
harmonic(x, nfreq, period, intercept = FALSE)
x |
a numeric vector |
nfreq |
number of sine/cosine pairs to include |
period |
the period |
intercept |
should basis matrix include a column of 1s? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.