get.class.id | R Documentation |
Use this function to get the 'id' of a frequency class.
get.class.id(frequency)
frequency |
The frequency, which must be an |
You need this 'id' to convert the character back to the object. Some frequencies have a constant class id, such as 'm' for 'monthly' data. Some class 'ids' have parameters in them. Note that the format is explained in the f.?
functions.
A character string that represents the class id of this frequency.
freq <- f.x.times.a.day(f.daily(c(2023,5,16)),13, 12)
freq_class_id <- get.class.id(freq) # this will be 'da13|d'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.