parse_ranges: Parser for the ranges part of a specification.

Description Usage Arguments Value

View source: R/parser.R

Description

Parses the ranges and return a list of index variables an the values they should iterate over. The ranges are returned as a list with the range variables as its names and the range values as the list components.

Usage

1
parse_ranges(ranges)

Arguments

ranges

The quosure wrapping the input to the specification.

Value

A parsed specification for ranges.


dynprog documentation built on Dec. 9, 2019, 5:10 p.m.