Description Usage Arguments Value Examples
This is an efficient C++ implementation of range for numeric vectors: it avoids S3 dispatch, and computes both min and max in a single pass through the input.
1 |
x |
A numeric vector, or an S3 object built on top of integer and
double atomic vectors, as long as there is a method for
|
finite |
If |
A numeric vector of length two. If x
contains no non-missing
values, this will be c(Inf, -Inf)
.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.