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,
nb_samples_beta = 2000,
pcelim = 0.02,
nbCPU = 1,
nb_iter = 10
)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
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
mosaic_path