rangeExpand | R Documentation |
Function for parsing "position" input strings.
rangeExpand(text = "1:2, 7-9", maxPos)
text |
the input string to parse |
maxPos |
total amount of positions (an int) |
A format for expressing an ordered list of integers is to use a comma separated list of either
See https://www.rosettacode.org/wiki/Range_expansion#R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.