Description Usage Arguments Performance Examples
This class is designed for dealing with large vectors, where the cost of
recomputing the range multiple times is prohibitive. It provides methods
for print
and str
that display only the range,
not the contents.
1 |
x |
a numeric vector |
range |
the range of the vector (excluding missing values), if known.
If unknown, it will be computed with |
For best performance, you may want to run copy and paste the contents of
this function into your function, to avoid making any copies of x
.
This is probably only necessary if you're dealing with extremely large
vectors, > 100 million obs.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.