Rev 48 | Rev 5230 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{range}\title{Range of Values}\usage{range(\dots, na.rm = FALSE)}\alias{range}\description{\code{range} returns a vector containing the minimum and maximum ofall the values present in its arguments. If \code{na.rm} is\code{FALSE}, an \code{NA} value in any of the arguments will causevalues of \code{NA} to be returned, otherwise \code{NA} values areignored.This definition of range should not be confused with the samplerange.}\seealso{\code{\link{min}}, \code{\link{max}}.}\examples{print(r.x <- range(rnorm(100)))diff(r.x) # the SAMPLE range}\keyword{univar}\keyword{arith}