Description Usage Arguments Details See Also
Functions to manage dates, useful to read GrADS ctl+bin files.
| 1 2 3 4 5 6 7 8 9 10 11 | it2en.date(date) 
en2it.date(date) 
date.lang() 
date2Date(date) 
Date2date(Date) 
seq.date(from,to,by="1 day") 
format.dates(dates) 
ITholidays(years) 
 | 
| date | date string in the format used in GrADS ctl files ('1jan2001') | 
| Date | object of class  | 
| from | first day, in the format used in GrADS ctl files ('1jan2001') | 
| to | last day, in the format used in GrADS ctl files ('1jan2001') | 
| by | time step | 
| dates | character vector of dates in the format 'yyyymmdd' | 
| years | numerical vector of years | 
The functions it2en.date and en2it.date translate a date, formatted as in GrADS ctl files, from Italian to English and vice versa, respectively, while date.lang checks if the system language is Italian or English.
The functions date2Date and Date2date convert a string in the format used in GrADS ctl files ('1jan2001') to an object of class Date and vice versa, respectively.
seq.date builds a sequence of dates in the format used in GrADS ctl files ('1jan2001').
format.dates prepares dates in a way which can be useful for an axis.
ITholidays returns Italian holidays for given years.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.