Parallelised Berger-Parker's diversity index.
BergerParkerP(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 Berger-Parker index computed through moving window of the given size.