spec_slope_get: Colour of environmental noise

Description Usage Arguments Details Value Author(s) See Also

View source: R/helpers.R

Description

Calculate the 'colour' of environmental noise assuming 1/f noise family

Usage

1
spec_slope_get(spec_obj)

Arguments

spec_obj

A data.frame containing a vector of frequencies/periods scanned, and a vector containing the normalised power corresponding to scanned frequencies/periods.

Details

Calculates slope of log10(normalised power)~log10(frequencies).

Value

A list containing the beta slope, the original spec_obj data.frame, and the fitted linear model.

Author(s)

Diego Barneche and Scott Burgess.

See Also

seasonality_and_colour.


dbarneche/envPred documentation built on June 28, 2020, 5:04 p.m.