skel_range | R Documentation |
skel_range()
is a vectorized function. Use it to make multiple range from,
say, data-frame columns. skel_range_pair()
is the unvectorized function.
Use it to make a single range from a vector (pair) of two numbers.
skel_range()
is a vectorized function. Use it to make multiple range from,
say, data-frame columns. skel_range_pair()
is the unvectorized function.
Use it to make a single range from a vector (pair) of two numbers.
skel_range_pair(x, skeleton = "{x[1]}–{x[2]}")
skel_range(xs, ys, skeleton = "{xs}–{ys}")
x |
a vector of two elements to plug into the range |
skeleton |
glue-style format to fill. defaults to |
xs |
a vector of the first elements in the range |
ys |
a vector of the second elements in the range |
These functions are wrappers around calls to glue::glue()
.
These functions are wrappers around calls to glue::glue()
.
strings representing ranges
strings representing ranges
skel_range(c(.1, .2), c(.3, .4))
skel_range_pair(c(.1, .3))
skel_range(c(.1, .2), c(.3, .4))
skel_range_pair(c(.1, .3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.