Displaying 1 result from an estimated 1 matches for "timestampstr".
2006 Mar 11
2
how to create analog stripchart plots of x vs t (t=mm/dd/yyyy hh:mm:ss)
...i am getting the data:
>
>TheData <- scan("MyDataFile.txt",sep=",",list("","",0))
>TheDates <- TheData[[1]]
>TheTimes <- TheData[[2]]
>TheValue <- TheData[[3]]
>
and here is how i am making the datetime objects:
>
>TimeStampStr <- paste(TheDates,TheTimes)
>TimeStampObj <- strptime(xStamp,"%m/%d/%y %H:%M:%S")
>
and then i try to plot it with:
>
>plot(TimeStampObj,TheValues)
>
but this is where i get an error like this:
>
Read 54 records
Error in plot.window(xlim, ylim, log, asp, ...)...