Computes Hill's diversity index in a non-parallelized (sequential) manner.
HillS(x, window = 1, alpha = 1, na.tolerance = 1, debugging = FALSE)
Matrix or a list of matrices with the Hill index computed through a moving window of the given size.
Input data.
Half of the side of the square moving window.
Alpha value for the order of diversity in Hill's Index.
A numeric value between 0.0 and 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 greater than na.tolerance, then the value of the window will be set as NA; otherwise, the index will be calculated considering the non-NA values. Default value is 1.0 (i.e., full tolerance for NA's).
A boolean variable set to FALSE by default. If TRUE, additional messages will be printed for debugging purposes.
Marcantonio Matteo marcantoniomatteo@gmail.com, Martina Iannacito martina.iannacito@inria.fr, Duccio Rocchini duccio.rocchini@unibo.it
Hill