It produces a matrix with seasonal sinusoids to be used as
regressors. By default, for \(t=1,\ldots,n\) and
\(j = 1, \ldots, \lfloor s/2\rfloor\), it computes
$$\cos(2\pi j/s), \qquad \sin(2\pi j/s)$$.
Notice that if $s$ is even the sine function at highest
frequency is omitted because it equals zero for all $t$.
The used can select a different set of harmonics.