Rev 48 | 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 maximumof all 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 are ignored.This definition ofrange should not be confused with the sample range.}\seealso{\code{\link{min}}, \code{\link{max}}.}\examples{print(r.x <- range(rnorm(100)))diff(r.x) #-- THE sample range}