.r_frequency {nixtlar} | R Documentation |
Convert period or offset aliases to a character string recognized by R. This is a private function of 'nixtlar'
Description
Convert period or offset aliases to a character string recognized by R. This is a private function of 'nixtlar'
Usage
.r_frequency(freq)
Arguments
freq |
The period or offset alias used by 'TimeGPT'. |
Value
A character string recognized by R for generating a regular sequence of times.
Examples
.r_frequency("MS") # Returns "month"
.r_frequency("10h") # Returns "10 h"
.r_frequency("h") # Returns "h" (unchanged)
[Package nixtlar version 0.6.2 Index]