HillS: Sequential Hill's diversity index

Description Usage Arguments Value Author(s) See Also

View source: R/HillS.R

Description

Hill's diversity index.

Usage

1
HillS(rasterm, w, alpha, na.tolerance, debugging)

Arguments

rasterm

input data.

w

half of the side of the square moving window.

alpha

alpha value for order of diversity in Hill's Index.

na.tolerance

a numeric value (0.0-1.0) which indicates the proportion of NA values that will be tolerated to calculate Hill's index in each moving window over x. If the relative proportion of NA's in a moving window is bigger than na.tolerance, then the value of the window will be set as NA, otherwise Rao's index will be calculated considering the non-NA values. Default values is 1.0 (i.e., no tolerance for NA's).

debugging

a boolean variable set to FALSE by default. If TRUE, additional messages will be printed. For de-bugging only.

Value

Matrix or a list of matrixes with the Hill index computed through moving window of the given size.

Author(s)

Marcantonio Matteo marcantoniomatteo@gmail.com
Martina Iannacito martina.iannacito@inria.fr
Duccio Rocchini duccio.rocchini@unibo.it

See Also

Hill


rasterdiv documentation built on Feb. 22, 2021, 5:08 p.m.