Description Usage Arguments Details Value Author(s) Examples
function to return a formatted ndvi df
1 | fh_NDVI_DF(inlist, layernames, transform_ndvi)
|
inlist |
- list of NDVI layer, layers list == numbers of extracted points/polygons |
layernames |
- vector of Layernames which are set a colnames, need to be ordered |
transform_ndvi |
- if TRUE the NDVI values are transfromed like: (x- 10000)/10000 |
this function returns a formatted ndvi df (data table) inlist is the output of mean_extract() or result of a raster::extract job (if poly centroids were used) layernames is a vector with the columnnames (date stamps) of the new ndvi dt
a formatted NDIV Data table, from an list of NDVI values
Eric Krueger
1 2 3 4 5 6 | ## Not run:
test_list <- readRDS("inst/data/test_list.RDS")
test_layer_list <- fh_stat_extract(test_list, "mean", na.rm = T)
fh_NDVI_DF(test_layer_list,layernames = c(1:24),transform_ndvi = F)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.