| toRangeStr | R Documentation |
Converts a vector of integers into a compact range string representation.
toRangeStr(x, range.sep = " - ", block.sep = ", ")
x |
[ |
range.sep |
[ |
block.sep |
[ |
[character(1)]
x = sample(1:10, 7)
toRangeStr(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.