Learn R Programming

lomb (version 2.5.0)

lomb-package: Lomb-Scargle Periodogram

Description

The Lomb-Scargle periodogram is the most widely used method to detect even weak periodic components in unequally sampled time series. It can also be used for equally sampled time series.The oacka alao plots actograms and converts them to periodograms.

Arguments

Author

Thomas Ruf
Department of Interdisciplinary Life Sciences,
University of Veterinary Medicine, Vienna, Austria
Maintainer: Thomas Ruf thomas.p.ruf@me.com

Details

Package:lomb
Type:Package
Version:2.1.0
Date:2022-02-22
License:GPL-3

Function lsp computes the Lomb-Scargle periodogram for unevenly sampled times series (e.g., series with missing data). P-values for the highest peak in the periodogram are computed from the exponential distribution. Alternatively, function randlsp computes a p-value for the largest peak in the periodogram by repeatedly randomising the time-series sequence. Both functions allow setting the range of frequencies to be inspected, as well as the stepsize (oversampling factor) used for frequency scanning. Function actogram plots actograms and function makedf prepares them for lsp.

References

Ruf, T. (1999) The Lomb-Scargle Periodogram in Biological Rhythm Research: Analysis of Incomplete and Unequally Spaced Time-Series. Biological Rhythm Research 30: 178--201

Examples

Run this code
data(lynx)
lsp(lynx)

Run the code above in your browser using DataLab