The R Project SVN R

Rev

Rev 27625 | Rev 38406 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27625 Rev 27733
Line 42... Line 42...
42
  \code{\link{min}},
42
  \code{\link{min}},
43
  \code{\link{max}},
43
  \code{\link{max}},
44
  \code{\link[base]{Methods}}.
44
  \code{\link[base]{Methods}}.
45
}
45
}
46
\examples{
46
\examples{
47
(r.x <- range(stats::rnorm(100)))
47
(r.x <- range(rnorm(100)))
48
diff(r.x) # the SAMPLE range
48
diff(r.x) # the SAMPLE range
49
 
49
 
50
x <- c(NA, 1:3, -1:1/0); x
50
x <- c(NA, 1:3, -1:1/0); x
51
range(x)
51
range(x)
52
range(x, na.rm = TRUE)
52
range(x, na.rm = TRUE)