scale_ndvi: Scale NDVI

Description Usage Arguments Details Value See Also Examples

View source: R/scale.R

Description

Using filtered NDVI time series, scale it to 0-1.

Usage

1

Arguments

DT

data.table of NDVI time series

Details

This functions expects the input DT is the output of previous four filtering steps, or filter_ndvi.

Value

data.table with appended 'scaled' column of 0-1 scaled NDVI.

See Also

Other scale: scale_doy

Examples

1
2
3
4
5
6
7
8
9
# Load data.table
library(data.table)

# Read in example data
ndvi <- fread(system.file("extdata", "ndvi.csv", package = "irg"))

# Filter and scale NDVI time series
filter_ndvi(ndvi)
scale_ndvi(ndvi)

robitalec/irg documentation built on March 20, 2020, 2:03 a.m.