get.class.id0 {tdata} | R Documentation |
Convert Frequency to Character and Class Id
Description
This function returns the output of the as.character.ldtf and get.class.id functions.
Usage
get.class.id0(frequency)
Arguments
frequency |
The value of the frequency, which must be an |
Value
A list with the following items:
-
value: The string representation of the frequency. If you only want this, use the
as.character()
function. -
day: The class Id of this frequency. If you only want this, use the
get.class.id
function. -
classType: The type of the class.
See Also
Examples
freq <- f.x.times.a.day(f.daily(c(2023,5,16)),13, 12)
freq_class_id <- get.class.id0(freq)
freq1 <- f.monthly(2020,3)
freq1_class_id <- get.class.id0(freq1)
[Package tdata version 0.3.0 Index]