Generate basis matrix for cosinor regression.
getCosinorBasis(x, period, intercept)
| x | Values of the predictor variable. |
|---|---|
| period | Period for the predictor variable. |
| intercept | If |
A matrix with a row for each value of x and a column for each
component of the decomposition.