View source: R/yearmonth-class.R
print.grates_yearmonth | R Documentation |
Format and print a yearmonth object
## S3 method for class 'grates_yearmonth'
print(x, format = "%Y-%b", ...)
## S3 method for class 'grates_yearmonth'
format(x, format = "%Y-%b", ...)
x |
A |
format |
The format to use for printing. |
... |
Not currently used. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.