number.ranges: Helper function to transform number lists to ranges

Description Usage Arguments Value Author(s) Examples

Description

1,2,3,4,5,8,9,10 -> 1-5,8-10

Usage

1
number.ranges(numbers)

Arguments

numbers

numeric

Value

character

Author(s)

Florian P Breitwieser

Examples

1
    number.ranges(c(1,2,3,9,3,10,8,11))

fbreitwieser/isobar documentation built on May 16, 2019, 12:01 p.m.