straight_decimate: Straight decimation

View source: R/filtering.R

straight_decimateR Documentation

Straight decimation

Description

Performs a simple, straight decimation.

Usage

straight_decimate(y, ndec = 1, ...)

## S3 method for class 'ts'
straight_decimate(y, ndec = 1, ...)

## Default S3 method:
straight_decimate(y, ndec = 1, ...)

Arguments

y

numeric

ndec

integer; the decimation factor

...

additional parameters; Used only for ts method.

Details

This is to be used with a proper low-pass filtering algorithm to reduce data volume without introducing aliasing effects, or to decimate an index series (e.g. for plotting, etc.).

No filtering is applied, so this will introduce aliasing if used improperly.

The ts method uses window

See Also

lpfilter, strain-filtering


abarbour/strain documentation built on Oct. 13, 2023, 11:44 p.m.