Hi,
May be this helps:
dat <- read.table(text="7.35600813091
7.35600956856
7.35601305921
7.35601654985
7.35602004049
7.35602353113
7.35602702178
7.35603397179
7.35604092182
7.35604787183
7.35605482185
7.35606177187
7.35606
I think the character format for this data is the most versatile and clear
option. You do have to prevent the R input function (read.csv? read.table?)
from converting it to factor when you read it in, but then you can use
as.POSIXct with a format argument (see ?strptime) to obtain useful timesta
See ?as.Date.
I am guessing these are days and fractional days. Try
x <- 7.35600813091e5
as.POSIXct((x - 719529)*86400, origin = "1970-01-01")
On 25/06/2014 14:56, Christoph Schlächter wrote:
Hi,
I have a matlab variable as serial date (class double) in the form
'dd-mmm- HH:MM:SS'
Hi,
I have a matlab variable as serial date (class double) in the form
'dd-mmm- HH:MM:SS'.
format long
disp( tx(40:60,1) )
1.0e+05 *
7.35600813091
7.35600956856
7.35601305921
7.35601654985
7.35602004049
7.35602353113
7.35602702178
7.356000
4 matches
Mail list logo