computes diversity metrics from raster

computes diversity metrics from raster

biodivMapR_full(
  input_raster_path,
  output_dir,
  window_size,
  maxRows = NULL,
  Kmeans_info_save = NULL,
  Kmeans_info_read = NULL,
  Beta_info_save = NULL,
  Beta_info_read = NULL,
  input_mask_path = NULL,
  nb_clusters = 50,
  nb_samples_beta = 1000,
  selected_bands = NULL,
  alphametrics = "shannon",
  Hill_order = 1,
  FDmetric = NULL,
  pcelim = 0.02,
  nbCPU = 1,
  nb_iter = 10,
  min_sun = 0.25,
  nb_samples_alpha = 1e+05,
  dimPCoA = 3,
  progressbar = TRUE,
  filetype = "GTiff",
  classif_map = FALSE
)

biodivMapR_full(
  input_raster_path,
  output_dir,
  window_size,
  maxRows = NULL,
  Kmeans_info_save = NULL,
  Kmeans_info_read = NULL,
  Beta_info_save = NULL,
  Beta_info_read = NULL,
  input_mask_path = NULL,
  nb_clusters = 50,
  nb_samples_beta = 1000,
  selected_bands = NULL,
  alphametrics = "shannon",
  Hill_order = 1,
  FDmetric = NULL,
  pcelim = 0.02,
  nbCPU = 1,
  nb_iter = 10,
  min_sun = 0.25,
  nb_samples_alpha = 1e+05,
  dimPCoA = 3,
  progressbar = TRUE,
  filetype = "GTiff",
  classif_map = FALSE
)

Arguments

input_raster_path

character. path for the input rasters

output_dir

character. path for the output files

window_size

numeric. window size for square plots

maxRows

numeric. max number of rows in each block

Kmeans_info_save

character. path where to save Kmeans_info

Kmeans_info_read

character. path where to read Kmeans_info

Beta_info_save

character. path where to save Beta_info

Beta_info_read

character. path where to read Beta_info

input_mask_path

character. path for mask file

nb_clusters

numeric. number of clusters used in kmeans

nb_samples_beta

numeric. number of samples to compute beta diversity

selected_bands

numeric. bands selected from input_rast

alphametrics

list. alpha diversity metrics: richness, shannon, simpson

Hill_order

numeric. Hill order

FDmetric

character. list of functional metrics

pcelim

numeric. minimum proportion of pixels to consider spectral species

nbCPU

numeric. Number of CPUs available

nb_iter

numeric. nb of iterations averaged to compute diversity indices

min_sun

numeric. minimum amount of sunlit pixels in the plots

nb_samples_alpha

numeric. max number of pixels extracted for kmeans

dimPCoA

numeric. number of dimensions of PCoA

progressbar

boolean. set true for progress bar during clustering

filetype

character. driver for output diversity raster data

Value

Kmeans_info and Beta_info

Kmeans_info and Beta_info