Hi,

search on web indicates that R also includes a hist method on POSIXct
vectors.

My (perhaps too unexperienced) approach below yields an error.

Could somebody give me a hint what's wrong ?

Peter 


> str(samples)
`data.frame':   7500 obs. of  1 variable:
 $ DateTime:'POSIXct', format: chr  "2006-07-20 00:10:08" "2006-07-20
00:11:17" "2006-07-20 00:11:23" 

>hist(samples)
Error in hist.default(samples) : 'x' must be numeric

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to