R/biodivMapR_sample.R
biodivMapR_sample.Rdsample pixels and plots to produce alpha and beta models, including clustering, dissimilarity & PCoA
biodivMapR_sample(
feature_dir,
list_features,
mask_dir = NULL,
output_dir,
window_size,
plots,
nb_clusters = 50,
nb_samples_alpha = 1e+05,
beta_metrics = TRUE,
nb_samples_beta = 2000,
pcelim = 0.02,
nbCPU = 1,
nb_iter = 10,
weightIRQ = 4,
Kmeans_path = NULL,
Beta_path = NULL
)character. path where to get features
character. list of features
character. path for masks
character. path where to save results
numeric. number of clusters used in kmeans
list. list of sf plots
numeric. number of clusters
numeric. number of samples to compute alpha diversity
boolean. set TRUE to compute beta diversity
numeric. number of samples to compute beta diversity
numeric. minimum proportion of pixels to consider spectral species
numeric. Number of CPUs available
numeric. Number of iterations required to compute diversity
numeric. IQR applied to filter out features to be used
character. path for Kmeans_info
character. path for Beta_info
mosaic_path