Learn R Programming

RSEIS (version 4.2-4)

j2posix: Convert RSEIS date list to Posix

Description

Convert RSEIS date list to a cmpatable date/time for calculating dates and times with base R codes.

Usage

j2posix(timeinput)

Value

POSIX compatable date time structure.

Arguments

timeinput

RSEIS date-time list

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

Code here converts to posix, but works only down to the second, i.e. fractions of a second are dropped.

See Also

recdate, recdatel, dateList, dateStamp, filedatetime, rangedatetime, yeardate, Zdate, as.POSIXct

Examples

Run this code

yr = 2014
j = 233.1234
A = convertATT(j, yr)
j2posix(A)
### note fractional seconds are truncated.

Run the code above in your browser using DataLab