Learn R Programming

aNCA (version 0.1.0)

.eval_range: Evaluates range notation. If provided notation is invalid, returns NA.

Description

Evaluates range notation. If provided notation is invalid, returns NA.

Usage

.eval_range(x)

Value

numeric vector with specified range of numbers, NA if notation is invalid

Arguments

x

character string with range notation, e.g. 1:5.