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.ruf@vetmeduni.ac.at

See Also

show

Examples


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

lomb documentation built on March 18, 2022, 7:13 p.m.