- x
- A raster object which can be a matrix, SpatialGridDataFrame, SpatRaster, list, or RasterStack. 
- window
- The size of the moving window; must be an odd integer. 
- alpha
- A numeric vector of alpha values for the Renyi index. 
- base
- The logarithm base for the calculation, default is natural logarithm. 
- rasterOut
- Logical; if TRUE, returns a SpatRaster object, otherwise returns a list. 
- np
- Number of processes for parallel computation. 
- na.tolerance
- Tolerance level for NA values, must be within [0-1]. 
- cluster.type
- Type of cluster for parallel computation, either "SOCK" or "MPI". 
- debugging
- Logical; if TRUE, provides additional console output for debugging.