PCfiledatetime {Rquake} | R Documentation |
Create a character string from a date
Description
Create a character string from a date for naming unique output files.
Usage
PCfiledatetime(orgtim, tims)
Arguments
orgtim |
time vector of length 5: c(yr, jd, hr, mi, sec) |
tims |
seconds to add to orgtim |
Value
filename |
character string |
Author(s)
Jonathan M. Lees<jonathan.lees@unc.edu>
Examples
library(RSEIS)
data(GH, package='RSEIS')
g1 = getGHtime(GH)
g2 = unlist(g1)
PCfiledatetime(g2, 1)
[Package Rquake version 2.5-1 Index]