R/run_biodivMapR_plot.R
run_biodivMapR_plot.Rd
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,
SelectBands = NULL,
window_size,
alphametrics = "shannon",
Hill_order = 1,
FDmetric = NULL,
pcelim = 0.02,
maxRows = NULL,
nbCPU = 1,
MinSun = 0.25,
filetype = "GTiff",
MovingWindow = F,
p = NULL
)
character. ID for plot
directory where spectral indices are for each plot
character.
character.
list. kmeans description obtained from function get_kmeans
list. BC dissimilarity & associated beta metrics from training set
path where to save outputs
numeric. bands selected from input data
numeric. window size for square plots
list. alpha diversity metrics: richness, shannon, simpson
numeric. Hill order
character. list of functional metrics
numeric. minimum proportion of pixels to consider spectral species
numeric. maximum number or rows to process
numeric. Number of CPUs available
numeric. minimum amount of sunlit pixels in the plots
character. gdal driver for output raster
boolean. should process be moving window (much longer)
list. progressbar
none