parse_year_strings: Parse and generate lists of years.

View source: R/utilities.R

parse_year_stringsR Documentation

Parse and generate lists of years.

Description

Parse and generate lists of years.

Usage

parse_year_strings(year_strings)

Arguments

year_strings

A vector of strings that each either represents a single year or a sequence of year in the format 'start:stop'.

Value

run_years List of integer vectors, representing the years to simulate for each run.


growR documentation built on May 29, 2024, 9:12 a.m.