Formal requirements enforced by this function are:
- Non-zero.
- Integer values.
- Fewer than the half-length of the spectrum.
For
example, we cannot apply zero tapers (the result would be
a raw periodogram) or one million tapers (that would be
absurd, and violate orthogonality conditions for any
series less than two million terms long!). An object with S3 class 'tapers'
is created; this
will have a minimum number of tapers in each position set
by min_taper
, and a maximum number of tapers in
each position set by max_taper
. If
minspan=TRUE
, the bounded taper is fed through
minspan
which will restrict the maximum
tapers to less than or equal to the half-length of the
spectrum.
Various classes can be coerced into a 'tapers'
object; those tested sofar include: scalar, vector,
matrix, data.frame, and list.
Multiple objects are concatenated into a single vector
dimension.
Enabling setspan
will only override
max_taper
should it be larger than the half-width
of the series.