DTG: Change character vector to a DTG vector.

Description Usage Arguments Value Examples

Description

Change character vector to a DTG vector.

Usage

1
DTG(x)

Arguments

x

A character vector.

Value

A DTG object

Examples

1
2
3
4
5
6
DTG("220815ZDEC17")
DTG(c(dtg1 = "181918BDEC17", dtg2 = "182318BDEC17"))
## Not run: 
DTG("182918BDEC17") # Returns Warning

## End(Not run)

jrh05/opsumToolbox documentation built on May 18, 2019, 8:07 p.m.