expand_range: Expand sequences

View source: R/utils.R

expand_rangeR Documentation

Expand sequences

Description

Expand sequence specified with colon or hyphen. notation.

Usage

expand_range(x)

Arguments

x

A character vector of shorthand sequences described by colons (e.g. c('1:3', '5:10') or hyphens (e.g. c('1-3', '5-10').

Value

Expanded integer sequences.


jscamac/edmaps documentation built on June 11, 2022, 1:26 a.m.