R/biodivMapR_chunk.R
biodivMapR_chunk.Rd
apply biodivMapR (computes clusters + diversity metrics) to an image chunk
biodivMapR_chunk(
blk,
r_in,
window_size,
Kmeans_info,
Beta_info = NULL,
alphametrics = "shannon",
Hill_order = 1,
FDmetric = NULL,
SelectBands = NULL,
pcelim = 0.02,
nbCPU = 1,
MinSun = 0.25,
p = NULL
)
list. rows and number of rows to read from
list. path of rasters to read from
numeric. window size for square plots
list. kmeans description obtained from function get_kmeans
list. BC dissimilarity & associated beta metrics from training set
list. alpha diversity metrics: richness, shannon, simpson
numeric. Hill order
character. list of functional metrics
numeric. bands selected from input data
numeric. minimum proportion of pixels to consider spectral species
numeric. Number of CPUs available
numeric. minimum amount of sunlit pixels in the plots
list. progressor object for progress bar
Shannon index correspnding to the distribution