p from
time to time on the R-help ist, I intend to expand the 'its'
documentation with some more examples and illustrations, in
a 'vignette'.
- Giles
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 12 November 2003 18:09
> To: [EMAI
Hello,
Thank you for your reply. I am missing an intermediate step as
> plot( strptime( Time, format = "%H:%M:%S"), FreeMemory)
Error in strptime(Time, format = "%H:%M:%S") :
invalid `x' argument
> plot( strptime( c(Time), format = "%H:%M:%S"), FreeMemory)
Error in strptime(c(Time), forma
;[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [R] Time plot question.
Hello,
I have parsed out some data from a file containing output from the top
command. The time stamps are of the form "hh:mm:ss". When the command
plot( Time, FreeMemory, type = "l"
Hello,
I have parsed out some data from a file containing output from the top
command. The time stamps are of the form "hh:mm:ss". When the command
plot( Time, FreeMemory, type = "l", col = "blue", main = "\"swap in use\"
versus Time", xlab = "Time", ylab = "Swap in Use")
is executed, the plo
x0 <- ISOdate(2003, 7, 13, 0, 0, 0)
x <- x0 + seq(0, 86400)
is what you are asking for, or at least it is in the GMT time zone.
The reason your code is so slow is that expanding vectors by c() is very
wasteful. If you have pre-allocated x and assigned values by indexing I
think it would have w
Hello,
I have some data (sar -A -f sar_data.file > mydata) that span 24 hours, more or less,
00:00:00 - 23:59:59, or so.
I would like to retain and plot data for all 24 x 60 x 60 = 86,400 seconds. I am able
to set the x coordinates equal
to ISOdate( year, month, day, hour, minute, second) cal