Learn R Programming

grates (version 1.4.3)

print.grates_yearmonth: Format and print a yearmonth object

Description

Format and print a yearmonth object

Usage

# S3 method for grates_yearmonth
print(x, format = "%Y-%b", ...)

# S3 method for grates_yearmonth format(x, format = "%Y-%b", ...)

Value

For format(), a character vector representing the formatted input. print() is called for the side effect of printing to screen and thus returns the input <grates_yearmonth> object invisibly.

Arguments

x

A <grates_yearmonth> object.

format

[character]

The format to use for printing.

...

Not currently used.