SlopeFit: Fit a power-law to the spectrum

Usage Arguments Value Author(s)

View source: R/SlopeFit.R

Usage

1
2
SlopeFit(spec, freq.start = NULL, freq.end = NULL, bDebug = TRUE,
  breaks = NULL, indexRemove = NULL, df.log = 0.05, i.fStart = 4)

Arguments

freq.start

vector containing the start frequencies of the fitting interval(s)

freq.end

vector containing the end frequencies of the fitting interval(s)

bDebug

(TRUE) plot diagnostics

breaks

vector of breakpoints to which the spectra is binned (optional)

indexRemove

bins that are removed (e.g. containing the annual and semiannual cycle)

df.log

resolution of the bins (if breaks are not provided)

i.fStart

index of first (lowest) frequency to be used

Value

list(slope=slope,slopesd=slopesd,spec=saveSpec,freq=binFreq,intercept=intercept)

Author(s)

Thomas Laepple


EarthSystemDiagnostics/corit documentation built on May 29, 2019, 1:39 p.m.