ymon: Construct a new ymon

Description Usage Arguments Details Value Examples

View source: R/ymon.R

Description

ymon() is a high level constructor for a ymon object. It accepts integer year and month components to build the object from.

Usage

1
ymon(year, month)

Arguments

year

[integer]

The year value.

month

[integer]

The month value, in the range of 1-12.

Details

year and month are recycled to a common size.

Value

A ymon object.

Examples

1
2
ymon(2019, 2)
ymon(2019, c(11, 12))

DavisVaughan/datea documentation built on April 10, 2020, 12:03 a.m.