moving_trend: Create weight matrix for linear trend over a moving window

View source: R/moving_trend.R

moving_trendR Documentation

Create weight matrix for linear trend over a moving window

Description

Create weight matrix for linear trend over a moving window

Usage

moving_trend(n_total = 20, n_window = 10, start = 0)

Arguments

n_total

Length of the time series. Defaults to 20.

n_window

Size of the moving window. Defaults to 10.

start

Optional offset for the time series. Defaults to 0.


INBO-Natura2000/abvanalysis documentation built on March 29, 2023, 9:17 p.m.