Skip to contents

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

Usage

.eval_range(x)

Arguments

x

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

Value

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