powered by
Convert period or offset aliases to a character string recognized by R. This is a private function of 'nixtlar'
.r_frequency(freq)
A character string recognized by R for generating a regular sequence of times.
The period or offset alias used by 'TimeGPT'.
.r_frequency("MS") # Returns "month" .r_frequency("10h") # Returns "10 h" .r_frequency("h") # Returns "h" (unchanged)
Run the code above in your browser using DataLab