Description Usage Arguments Value
The function time in the stats package returns the date in fractions.
This function converts that value to the proper four digit integer.
| 1 | year <- getYear(tsData)
 | 
| tsData | A Time Series Object. | 
A vector of 4 digit integers (representing years).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.