initialize PCoA for beta diversity mapping
init_PCoA(
input_rast,
output_dir,
window_size,
Kmeans_info,
SelectBands = NULL,
input_mask = NULL,
nbSamples = 1000,
MinSun = 0.25,
pcelim = 0.02,
dimPCoA = 3,
nbCPU = 1,
Beta_info_save = NULL,
Beta_info_read = NULL,
verbose = T
)
SpatRaster. raster to extract data from
character. Path for output directory
numeric. window size for square plots
list. obtained from prepare_init_kmeans
numeric. bands selected from input_rast
SpatRaster. mask corresponding to raster to extract data from
numeric. number of samples to be extracted
numeric. minimum percentage of sunlit pixels
numeric. minimum proportion of pixels to consider spectral species
numeric.
numeric. Number of CPUs available
character. path where to save Beta_info
character. path where to read Beta_info
boolean. set true for messages
list including spectral species distribution & BC diss matrix per plot, BetaPCO model