- x
gridded elevation data, either as a SpatialGridDataFrame, dataframe, or matrix.
- EWres
East-West grid resolution. May be omitted if x is a SpatialGridDataFrame and the horizontal units are the same as the vertical units.
- NSres
North-South grid resolution. May be omitted if x is a SpatialGridDataFrame and the horizontal units are the same as the vertical units.
- EWkernel
The kernel to use when calculating the East-West component of slope. If missing, a 3x3 kernel will be used.
- NSkernel
The kernel to use when calculating the North-South component of slope. If missing, a 3x3 kernel will be used.
- smoothing
A positive integer describing the additional smoothing to be applied, if any. smoothing=1 (default) means no smoothing will be used.