calc_target_string_end_date: Calculate the target end date by parsing a target...

View source: R/date_management.R

calc_target_string_end_dateR Documentation

Calculate the target end date by parsing a target specification string and adding appropriate integer to start_date.

Description

Calculate the target end date by parsing a target specification string and adding appropriate integer to start_date.

Usage

calc_target_string_end_date(start_date, target)

Arguments

start_date

a Date object

target

string specification of forecast target

Value

target end date


reichlab/covidEnsembles documentation built on Jan. 31, 2024, 7:21 p.m.