intRange | R Documentation |
The function is similar to range
but returns integer ranges
that are just outside the real range: i.e. the floor of the left range and
the ceiling of the right range.
intRange(x, na.rm = TRUE)
x |
A numeric vector |
na.rm |
Logical, whether NA should be removed |
A vector of integers of length 2.
Jitao David Zhang <jitao_david.zhang@roche.com>
intRange(rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.