Displaying 2 results from an estimated 2 matches for "timedata2".
Did you mean:
timedata
2003 Jun 26
2
Plots using POSIX
Is there a reason that the bottom axis changes color when POSIX data is used
in plot function?
For example:
> timedata <- c("2/3/2003","3/4/2003","5/4/2003")
> timedata2 <- strptime(timedata,format="%m/%d/%Y")
> numdata <- c(2,3,4)
> plot(as.POSIXct(timedata2),numdata,col="red",type="o")
As compared to:
> numdata2 <- c(3,4,5)
> plot(numdata2,numdata,col="red",type="o")
I assume that the work...
2003 Jun 27
1
R-help Digest, Vol 4, Issue 27 ( -Reply)
...:
<2F3262756375D411B0CC00B0D049775DFD61EC at westpark.tanox.net>
Content-Type: text/plain
Is there a reason that the bottom axis changes color when POSIX data is used
in plot function?
For example:
> timedata <- c("2/3/2003","3/4/2003","5/4/2003")
> timedata2 <- strptime(timedata,format="%m/%d/%Y")
> numdata <- c(2,3,4)
> plot(as.POSIXct(timedata2),numdata,col="red",type="o")
As compared to:
> numdata2 <- c(3,4,5)
> plot(numdata2,numdata,col="red",type="o")
I assume that the work...