gLmb: generalized Lomb-Scargle estimation function

Description Usage Arguments Details

View source: R/specLOMB.R

Description

calculates the generalized Lomb-Scargle estimation after Zechmeister et al. (2009)

Usage

1
gLmb(f, dat, w, Y, hYY)

Arguments

f

frequency

dat

spatial vector including locations and values

w

vector of weights

Y

weighted sum of values

hYY

weighted sum of squared values

Details

This method is based on the generalized approach

y(t) = a*cos(w*t) + b*sin(w*t) + c

which contains the floating average value c of the model function above. The calculation is vectorized to enhance calculation speed.


spectral documentation built on March 29, 2021, 5:10 p.m.

Related to gLmb in spectral...