Skip to content
Prev 9118 / 398502 Next

strange spectrum() plot

On Mon, 22 Jan 2001, Petr Pikal wrote:

            
That's too long to answer here.  Look at the references on the help page,
especially Bloomfield (which has a 2000 2nd ed).

In particular, you really should not the using the default setting sof
spectrum.
Yes, most easily by writing some C code, but also via embed.
Say

span <- 3
z <- embed(series, span)
max.col(z) == 1 + span %/% 2