print.grates_period: Print a period object

View source: R/period-class.R

print.grates_periodR Documentation

Print a period object

Description

Print a period object

Usage

## S3 method for class 'grates_period'
print(x, format = "%Y-%m-%d", sep = "to", ...)

## S3 method for class 'grates_period'
format(x, format = "%Y-%m-%d", sep = "to", ...)

Arguments

x

A ⁠<grates_period>⁠ object.

format

⁠[character]⁠

The format to use for the bounds of each value.

sep

⁠[character]⁠

Where more than one day is grouped with others, sep is placed between the upper and lower bounds when printing.

...

Not currently used.

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_period>⁠ object invisibly.


grates documentation built on Nov. 21, 2025, 5:07 p.m.