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

Description Usage Arguments Value Author(s) Examples

View source: R/utils.R

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))

isobar documentation built on Nov. 8, 2020, 7:48 p.m.