Last chance! 50% off unlimited learning
Sale ends in
Using filtered NDVI time series, scale it to 0-1.
scale_ndvi(DT)
data.table of NDVI time series
data.table with appended 'scaled' column of 0-1 scaled NDVI.
This functions expects the input DT
is the output of previous four filtering steps, or filter_ndvi
.
Other scale:
scale_doy()
# NOT RUN {
# 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)
# }
Run the code above in your browser using DataLab