Skip to content
Prev 280094 / 398506 Next

Creating appropriate time axis for data

On 12.12.2011 17:44, Tony Stocker wrote:
I get

 > time_to_sec
Error: object 'time_to_sec' not found

If it is in a package, please tell us which one you are referring to.
Yes, e.g.:

t <- strptime(c("07:00:00", "18:00:00"), "%H:%M:%S")
y <- rnorm(2)
plot(t, x)

Uwe Ligges