straight_decimate | R Documentation |
Performs a simple, straight decimation.
straight_decimate(y, ndec = 1, ...)
## S3 method for class 'ts'
straight_decimate(y, ndec = 1, ...)
## Default S3 method:
straight_decimate(y, ndec = 1, ...)
y |
numeric |
ndec |
integer; the decimation factor |
... |
additional parameters; Used only for |
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
lpfilter
, strain-filtering
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.