monthly_bins: Compute the seasonal (monthly) components of time series

Description Usage Arguments Details Value Author(s) See Also

View source: R/helpers.R

Description

Compute the seasonal (monthly) components of time series

Usage

1
monthly_bins(resids, dates)

Arguments

resids

A numeric vector containing the residual variation of a raw time series after removing the linear trend.

dates

An object of class Date of format YYYY-MM-DD (must be in progressive chronological order).

Details

This algorithm follows the steps described in Marshall and Burgess 2015 Ecology Letters 18: 1461–0248, doi: 10.1111/ele.12402.

Value

A data.frame containing the a numeric vector containing predicted (interpolated) de-trended residuals ('interpolated_seasons'), and a numeric vector containing unpredicted de-trended residuals 'resid_time_series'. See details.

Author(s)

Diego Barneche and Scott Burgess.

See Also

seasonality_and_colour.


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