R/topdown_code.R

Defines functions topdown_code

Documented in topdown_code

#' Remove revealing high and low values
#'
#' Remove revealing high and low values
#'@keywords internal
topdown_code <- function( r, top = Inf, down = -Inf, ..., upper = top
                        , lower = down){
  clamped <- raster::clamp(r, upper = upper, lower = lower, ...)
  clamped
}
edwindj/sdcSpatial documentation built on April 13, 2025, 1:57 a.m.