scale_ndvi | R Documentation |
Using filtered NDVI time series, scale it to 0-1.
scale_ndvi(DT)
DT |
data.table of NDVI time series |
This functions expects the input DT
is the output of previous four filtering steps, or filter_ndvi
.
data.table with appended 'scaled' column of 0-1 scaled NDVI.
Other scale:
scale_doy()
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.