Description Usage Arguments Details Value Examples
Function to create a vector of texts with the periods to consult.
1 | componerPeriodos(annos, mes = NULL, frecuencia = "TRIMESTRE")
|
annos |
A vector with the years to consult. |
mes |
Number to indicate the periods within the year to consult. |
frecuencia |
Type of period. Year (A), Quarter (T) or Month (M) |
The parameter mes is a number between 1 and 4 if the patameter frecuencia is Quarterly, from 1 to 12 if it is monthly and it is not used if it is annual, he frequency parameter is a text of which only the first letter is used: A or Y for annual, Q or T for quarterly or M for monthly.
A vector with the periods in the format neccessary for the consult.
1 2 3 4 | ##----Example
componerPeriodos(2007:2009,2:4,'Q')
componerPeriodos(2017,frecuencia='M')
componerPeriodos(2017,frecuencia='A')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.