Expand Number Range in Text to All Numbers in Range
rangeToVector.Rd
Takes a character vector containing a number range (e.g. "11 - 14") and replaces the range with the numbers contained in the range ("11 12 13 14").
Arguments
- numbers
Character vector containing a number range indicated by a dash (e.g. "123 - 456")
- separator
Character string to use as a separator between numbers