R: Envelope filter

sits_envelope {sits} | R Documentation

## Envelope filter

### Description

This function computes the envelope of a time series using the streaming algorithm proposed by Lemire (2009). This functions calls 'dtwclust::compute_envelope' function.

### Usage

    sits_envelope(data = NULL, operations = "UULL", bands_suffix = "env")

### Arguments

`data` | A tibble with time series data and metadata.
`operations` | A character sequence for the sequence operations. ("U" for upper filter, "L" for lower filter).
`bands_suffix` | Suffix of the resulting data.

### Value

A tibble with filtered time series values.

### Author(s)

Rolf Simoes, rolf.simoes@inpe.br

### Examples

    # Select the NDVI band of a point in Mato Grosso
    point_ndvi <- sits_select(point_mt_6bands, bands = "NDVI")
    # Apply the envelope filter
    point_env <- sits_envelope(point_ndvi)
    # Merge the filtered with the raw data
    point2 <- sits_merge(point_ndvi, point_env)
    # Plot the result
    plot(point2)

[Package sits version 0.15.0 Index]