apply biodivMapR to a set of plots identified by a field 'id' produced with preprocS2 function get_s2_tiling

run_biodivMapR_plot(
  id,
  feature_dir,
  mask_dir = NULL,
  list_features,
  Kmeans_info,
  Beta_info,
  output_dir,
  selected_bands = NULL,
  window_size,
  alphametrics = "shannon",
  Hill_order = 1,
  FDmetric = NULL,
  pcelim = 0.02,
  maxRows = NULL,
  nbCPU = 1,
  min_sun = 0.25,
  filetype = "GTiff",
  moving_window = FALSE,
  p = NULL
)

Arguments

id

character. ID for plot

feature_dir

directory where spectral indices are for each plot

mask_dir

character.

list_features

character.

Kmeans_info

list. kmeans description obtained from function get_kmeans

Beta_info

list. BC dissimilarity & associated beta metrics

output_dir

path where to save outputs

selected_bands

numeric. bands selected from input data

window_size

numeric. window size for square plots

alphametrics

list. alpha diversity metrics

Hill_order

numeric. Hill order

FDmetric

character. list of functional metrics

pcelim

numeric. min proportion of pix to consider spectral species

maxRows

numeric. maximum number or rows to process

nbCPU

numeric. Number of CPUs available

min_sun

numeric. minimum amount of sunlit pixels in the plots

filetype

character. gdal driver for output raster

moving_window

boolean. should process be moving window (much longer)

p

list. progressbar

Value

none