filedatetime | R Documentation |
Create a character string from a date for naming unique output files.
filedatetime(orgtim, tims=0, datesep="-", timesep="_", secsep="_")
orgtim |
time vector of length 5: c(yr, jd, hr, mi, sec) |
tims |
seconds to add to orgtim, default=0 |
datesep |
character, seperater for the date |
timesep |
character, seperator for the time |
secsep |
character, seperator for the seconds |
filename |
character string |
Jonathan M. Lees<jonathan.lees@unc.edu>
data(GH)
g1 <- getGHtime(GH)
g2 <- unlist(g1)
filedatetime(g2, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.