Learn R Programming

lomb (version 2.5.0)

getpeaks: Retrieve periodogram peaks

Description

Retrieves and displays the npeaks largest peaks in the periodogram-

Usage

getpeaks(object,npeaks,plotit)

Value

Returns a list with

data

A dataframe with times an heights of peaks

plot

An annotated periodogram

Arguments

object

object must be of class "lsp"

npeaks

number of peaks to get

plotit

if TRUE show plot

Author

Thomas Ruf thomas.p.ruf@me.com

See Also

show

Examples

Run this code

per=lsp(lynx,ofac=5)
getpeaks(per,6) # obtain the 6 largest  peaks

Run the code above in your browser using DataLab