scale_ndvi {irg} | R Documentation |
Scale NDVI
Description
Using filtered NDVI time series, scale it to 0-1.
Usage
scale_ndvi(DT)
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
# Load data.table
library(data.table)
# Read in example data
ndvi <- fread(system.file("extdata", "sampled-ndvi-MODIS-MOD13Q1.csv", package = "irg"))
# Filter and scale NDVI time series
filter_ndvi(ndvi)
scale_ndvi(ndvi)
[Package irg version 0.1.6 Index]