| chronon_format_linear | R Documentation |
Provides default linear time formatting strings for a given chronon (finest
time granule). The format strings use placeholders like {lin(year(1L))},
{cyc(month(1L), year(1L)} and {cyc(day(1L), month(1L)}, which are
evaluated in the context of the data's time_calendar().
chronon_format_linear(x, cal = time_calendar(x), ...)
chronon_format_cyclical(x, y, ...)
chronon_format_duration(x, ...)
x |
A time granule for the chronon. |
cal |
The calendar of the chronon, used to disambiguate suitable format
strings for time units that are shared across calendars (e.g.
|
... |
Additional arguments for methods. |
y |
A time granule for the cycle |
A character string containing the default format template for the chronon.
chronon_format_linear(cal_gregorian$year(1L))
chronon_format_linear(cal_gregorian$month(1L))
chronon_format_linear(cal_gregorian$day(1L))
chronon_format_linear(cal_isoweek$day(1L))
chronon_format_cyclical(cal_gregorian$month(1L), cal_gregorian$year(1L))
chronon_format_cyclical(cal_gregorian$day(1L), cal_gregorian$month(1L))
chronon_format_cyclical(cal_isoweek$day(1L), cal_isoweek$week(1L))
chronon_format_cyclical(cal_isoweek$week(1L), cal_isoweek$year(1L))
chronon_format_duration(cal_gregorian$year(1L))
chronon_format_duration(cal_gregorian$month(1L))
chronon_format_duration(cal_gregorian$day(1L))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.