R/min_value.R

Defines functions min_value

Documented in min_value

NULL
#'
#' Gets the minimum (scalar) values of a \code{\link{GeotopRasterBrick}} object 
#' 
#' @param x a \code{\link{GeotopRasterBrick}} object. 
#' @param na.rm,... further arguments foe \code{\link{min}}.
#' 
#' 
#' @return the minimum (scalar) values of a \code{\link{GeotopRasterBrick}} object
#' 
#' 
#' 
#' @title min_value
#' @name min_value
#' @rdname min_value
#' @export 
#'

min_value <- function(x,na.rm=TRUE,...) {
	
	out <- min(minValue(brick(x)),na.rm=na.rm,...)
	
	return (out) 
	
}

Try the geotopbricks package in your browser

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

geotopbricks documentation built on Aug. 10, 2023, 1:06 a.m.