getpeaks: Retrieve periodogram peaks

getpeaksR Documentation

Retrieve periodogram peaks

Description

Retrieves and displays the npeaks largest peaks in the periodogram-

Usage

getpeaks(object,npeaks,plotit)

Arguments

object

object must be of class "lsp"

npeaks

number of peaks to get

plotit

if TRUE show plot

Value

Returns a list with

data

A dataframe with times an heights of peaks

plot

An annotated periodogram

Author(s)

Thomas Ruf thomas.p.ruf@me.com

See Also

show

Examples


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

lomb documentation built on May 29, 2024, 3:37 a.m.