Pielou's diversity index.
PielouS(rasterm, w, na.tolerance, debugging)
input data.
half of the side of the square moving window.
a numeric value
a boolean variable set to FALSE by default. If TRUE, additional messages will be printed. For de-bugging only.
Matrix or a list of matrixes with the Pielou index computed through moving window of the given size.