Description Usage Arguments Value Author(s) Examples
View source: R/fh_stat_extract.R
function to return a layer list for fh_NDVI_DF()
1 | fh_stat_extract(extract_results, stat, ...)
|
stat |
- string to specify the statistical parameter to apply i.e. "mean", "max", "min" ... |
extract_result |
- a nested list, length represents the number of layers from the raster extract, length of nested lists represents the number of polygons used for extraction |
a list with the selected statistical parameter for each poly in each layer
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.