R/timecharunique2seq.R

Defines functions timecharunique2seq

Documented in timecharunique2seq

timecharunique2seq <-function(timestring){
        timesecv1.v2= as.double(difftime(timestring,as.POSIXct("1900-01-01",tz="GMT"),tz="GMT",units="secs"))
        t1  =timestring
        t3  =as.double(timesecv1.v2)
        t2  =trunc(timesecv1.v2/86400)
        return(list(char=t1,sec=t3,day=t2))
}

Try the etasFLP package in your browser

Any scripts or data that you put into this service are public.

etasFLP documentation built on May 1, 2019, 6:48 p.m.