compute_SSD: compute spectral species distribution from original spectral...

View source: R/Lib_MapAlphaDiversity.R

compute_SSDR Documentation

compute spectral species distribution from original spectral species map

Description

compute spectral species distribution from original spectral species map

Usage

compute_SSD(
  Image_Chunk,
  window_size,
  nbclusters,
  MinSun = 0.25,
  pcelim = 0.02,
  Index_Alpha = "Shannon",
  nbCPU = 1,
  nbPieces = 1,
  Mask_Chunk = FALSE,
  progressbar = FALSE
)

Arguments

Image_Chunk

numeric. 3D image chunk of spectral species

window_size

numeric. size of spatial units (in pixels) to compute diversity

nbclusters

number of clusters defined in k-Means

MinSun

minimum proportion of sunlit pixels required to consider plot

pcelim

minimum proportion for a spectral species to be included

Index_Alpha

list. list of alpha diversity indices to be computed from spectral species

nbCPU

numeric. Number of CPUs to use in parallel.

nbPieces

numeric. number of pieces in which original image is split

Mask_Chunk

numeric. 3D image chunk of mask (optional)

progressbar

boolean. should progress bar be displayed (set to TRUE only if no conflict of parallel process)

Value

list of alpha diversity metrics for each iteration


jbferet/biodivMapR documentation built on April 25, 2024, 10:44 p.m.