bartlett_noise_filter: Bartlett Noise Filter

Description Usage Arguments Value See Also Examples

View source: R/Filter.R

Description

A triangular Filter for smoothing data

The filter will take a weighted average of a specified number of points around the point of interest to create a smoother time series. For example, if the size of the filter is set to 31, the filter will take the 15 points before and after the point of interest (for a total of 31 points), and calculate a weighted average based on how far away the points are from the point of interest.

Usage

1

Arguments

x

RasterBrick or TimeSeries

y

Size of Filter

Value

RasterBrick or TimeSeries of Yearly data

See Also

raster

Examples

1
2
# using RasterBricks or a Time Series
r<-bartlett_noise_filter(x, 31)

kjoseph654/MSD documentation built on July 8, 2021, 2:13 p.m.