Zdate | R Documentation |
Make character vector from dates
Zdate(info, sel=1, t1=0, sep='_')
dateList(datevec)
dateStamp(datelist, sep='_')
info |
info structure from trace structure |
sel |
selection of which ones to extract, default=1:length(info$jd) |
t1 |
time offset, seconds, default=0 |
sep |
character for separating the components in the string, default=":" |
datevec |
vector with yr, jd, mo, day, hr, mi, sec |
datelist |
output of dateList |
Format date stamp for plotting and identification. Used for STAMP.
character strings
If using Zdate to create a file name, becareful about the separator. A colon in the file name on PC and MAC systems can be confusing for the OS.
Jonathan M. Lees<jonathan.lees.edu>
swig, dateStamp, ghstamp, filedatetime
data("GH")
sel <- which(GH$COMPS == "V")
ftime <- Zdate(GH$info, sel[1:5], 1)
dvec <- c(2009, 134, 5, 14, 10, 32, 24.5, 0)
A <- dateList(dvec)
dateStamp(A, sep=".")
dateStamp(A, sep="_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.