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,
  selected_bands = NULL,
  pcelim = 0.02,
  nbCPU = 1,
  min_sun = 0.25,
  p = NULL
)

Arguments

blk

list. rows and number of rows to read from

r_in

list. path of rasters to read from

window_size

numeric. window size for square plots

Kmeans_info

list. kmeans description obtained from function get_kmeans

Beta_info

list. BC dissimilarity & associated beta metrics

alphametrics

list. alpha diversity metrics

Hill_order

numeric. Hill order

FDmetric

character. list of functional metrics

selected_bands

numeric. bands selected from input data

pcelim

numeric. min proportion of pixels to consider spectral species

nbCPU

numeric. Number of CPUs available

min_sun

numeric. minimum amount of sunlit pixels in the plots

p

list. progressor object for progress bar

Value

Shannon index correspnding to the distribution