Learn R Programming

RSEIS (version 2.8-1)

Zdate: Date functions

Description

Make character vector from dates

Usage

Zdate(info, sel=1, t1=0)
dateList(datevec)
dateStamp(datelist)

Arguments

info
info structure from trace structure
sel
selection of which ones to extract, default=1:length(info$jd)
t1
time offset, seconds, default=0
datevec
vector with yr, jd, mo, day, hr, mi, sec
datelist
output of dateList

Value

  • character strings

Details

Format date stamp for plotting and identification. Used for STAMP.

See Also

swig

Examples

Run this code
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)

Run the code above in your browser using DataLab