toRangeStr {BBmisc} | R Documentation |
Convert a numerical vector into a range string.
Description
Convert a numerical vector into a range string.
Usage
toRangeStr(x, range.sep = " - ", block.sep = ", ")
Arguments
x |
[ |
range.sep |
[ |
block.sep |
[ |
Value
[character(1)
]
Examples
x = sample(1:10, 7)
toRangeStr(x)
[Package BBmisc version 1.13 Index]