Conversion between period specification and codes
1 2 3
Periods are specified using keywords "day", "month", "year" preceded by an integer and a space and optionally followed by "s" (the specification is further passed to
cut.Date for details). To fit in figures and for simplicity, periods can be also specified by codes, i.e. by
Y (for "day", "month" and "year", respectively) and folowed by integer specifying the number of intervals. The functions
code2period provide conversion between the two alternatives.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.