Description Usage Arguments Details Value
The function time
in the stats
package returns the date in fractions.
This function converts that value to the proper integer.
1 | tsMonth <- getMonth(tsData)
|
tsData |
A time series object. |
Since yearly (4 digit only) time series have no month and since weeks can span months, this function is only supported for daily and monthly time series.
A vector of integers (representing months).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.