R/get_diversity_from_plots.R
get_diversity_from_plots.Rd
computes diversity metrics from validation plots
get_diversity_from_plots(
input_rast,
validation_vect,
Hill_order = 1,
Kmeans_info,
Beta_info = NULL,
input_mask = NULL,
Functional = NULL,
SelectBands = NULL,
rast_sample = NULL,
AttributeTable = NULL,
alphametrics = c("richness", "shannon", "simpson", "hill"),
MinSun = 0.25,
pcelim = 0.02,
nbCPU = 1,
getBeta = T,
verbose = F
)
SpatRaster
SpatVector
numeric. Hill order
list. kmeans description obtained from function get_kmeans
list. BC dissimilarity & associated beta metrics from training set
SpatRaster
character.
numeric. bands selected from input_rast
dataframe.
dataframe.
character.
numeric. minimum amount of sunlit pixels in the plots
numeric. minimum proportion of pixels to consider spectral species
numeric. Number of CPUs available
boolean. set true if computation of beta required
boolean. set true for messages
SpatVector including diversity metrics and BC dissimilarity for the plots