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
}

Try the sdcSpatial package in your browser

Any scripts or data that you put into this service are public.

sdcSpatial documentation built on March 24, 2022, 5:05 p.m.