R/rowMinMax.R

Defines functions .colMax .colMin .rowMax .rowMin

.rowMin <- function(x, na.rm=TRUE) {
#  .Call('raster_doRowMin', PACKAGE = 'raster', x, narm=na.rm)
  .doRowMin(x, narm=na.rm)
}

.rowMax <- function(x, na.rm=TRUE) {
  .doRowMax(x, narm=na.rm)
}

.colMin <- function(x, na.rm=TRUE) {
  .doRowMin(t(x), narm=na.rm)
}

.colMax <- function(x, na.rm=TRUE) {
  .doRowMax(t(x), narm=na.rm)
}

Try the raster package in your browser

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

raster documentation built on Jan. 5, 2021, 3:01 a.m.