View source: R/get_diversity_from_plots.R
get_diversity_from_plots | R Documentation |
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
)
input_rast |
SpatRaster |
validation_vect |
SpatVector |
Hill_order |
numeric. Hill order |
Kmeans_info |
list. kmeans description obtained from function get_kmeans |
Beta_info |
list. BC dissimilarity & associated beta metrics from training set |
input_mask |
SpatRaster |
Functional |
character. |
SelectBands |
numeric. bands selected from input_rast |
rast_sample |
dataframe. |
AttributeTable |
dataframe. |
alphametrics |
character. |
MinSun |
numeric. minimum amount of sunlit pixels in the plots |
pcelim |
numeric. minimum proportion of pixels to consider spectral species |
nbCPU |
numeric. Number of CPUs available |
getBeta |
boolean. set true if computation of beta required |
verbose |
boolean. set true for messages |
SpatVector including diversity metrics and BC dissimilarity for the plots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.