add_dates: Add Dates from Daata

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Pulls the last n dates from a vector

Usage

1
add_dates(dates, n)

Arguments

dates

Character vector of dates to pull from.

n

Number of dates required

Value

Character vector of dates of length N

Examples

1
2
3
dates <- rep(1:10)

add_dates(dates, 3)

epiforecasts/EpiNow documentation built on Oct. 26, 2020, 2:38 p.m.