search for: login_bins

Displaying 1 result from an estimated 1 matches for "login_bins".

2006 Aug 25
1
How to get back POSIXct format after calculating with hist() results
...s. What is the proper way to get back the old YY-MM-DD hh:mm:ss labels ? Peter > str(logins) `data.frame': 25792 obs. of 1 variable: $ DateTime:'POSIXct', format: chr "2006-08-01 00:00:02" "2006-08-01 00:00:25" "2006-08-01 00:00:41" ... > login_bins<-hist(samples$DateTime, "hours", freq=TRUE,plot=FALSE) > str(login_bins) List of 7 $ breaks : num [1:337] 1.15e+09 1.15e+09 1.15e+09 1.15e+09 1.15e+09 ... $ counts : int [1:336] 6 10 45 25 40 87 257 356 309 214 ... $ intensities: num [1:336] 0.000233 0.000388 0.001744 0....