focal.function
.
"resid"(x)
"resid"(x)
"resid"(x, probs)
"resid"(x)
NA
valuesquantile
x
is provided, a numeric vector of length 1 (resid.median
), 3 (resid.minmedmax
and resid.quartiles
), or length(probs)
(resid.quantile
).If x
is missing, a character vector of same length giving suggested variable (or file) names, such as "rmed"
. See focal.function
for details.
focal.function
, which repeatedly passes the contents of a square or circular moving window to these functions.The resid.median
function rests the value of the central grid cell from the median of the whole moving window. Thus, in terms of topography, a positive residual median indicates that this grid cell stands out compared to its surroundings. resid.quantile
gives more flexibility in designing such residual attributes.
focal.function
, quantile
, median
, centervalue