R/Lib_MapAlphaDiversity.R
compute_alpha_metrics.Rd
Computes alpha diversity metrics based on spectral species
compute_alpha_metrics(
Spectral_Species_Path,
SSD_Dir,
window_size,
Input_Mask_File = FALSE,
nbclusters,
MinSun = 0.25,
pcelim = 0.02,
nbCPU = 1,
MaxRAM = 0.25,
Index_Alpha = "Shannon",
progressbar = FALSE
)
character. path for spectral species file
character. path for spectral species distribution file to be written
numeric. size of spatial units (in pixels) to compute diversity
character. Path and name of the mask corresponding to the image to be processed.
numeric. number of clusters defined in k-Means
numeric. minimum proportion of sunlit pixels required to consider plot
numeric. percentage of occurence of a cluster below which cluster is eliminated
numeric. number of CPUs available
numeric. maximum RAM available
list. list of alpha diversity indices to be computed from spectral species
boolean. should progress bar be displayed (set to TRUE only if no conflict of parallel process)
list of mean and SD of alpha diversity metrics