[R] FW: R and read.irts

From: Mark Leeds <Mleeds_at_kellogggroup.com>
Date: Thu 29 Dec 2005 - 10:42:02 EST


I have never worked with R before so I am sorry if this is a bad question but I've tried and tried ( all day ) and I can't figure this problem out. I have the code below and I included the data file as an attachment.  

The code works in term of reading in the data correctly but when the graph gets
created, the xaxis is really strangely/incorrectly labelled. I have been trying
to understand this Posixct stuff in R but I think this is where my knowledge is lacking and is maybe causing the problem ?
Thank you very much.  

I am using R in windows but through cygwin if that matters but I doubt it does. Thanks again.  

                                  Mark
 

------------------------------------------------------------------------
------------------------------------------------------------------------
---------------------------------

postscript(file="burp.ps")  

library(quadprog)
library(zoo)
library(tseries)
 

temp<-read.irts('~/ml/research/data/highfreq.dat',format="%H:%M:%S",tz=" GMT",sep=",",header=FALSE,row.names=NULL, col.names=c("transdate","transprice","transamount"))  

temp  

plot(temp,type="l",xlab="Time",ylab=NULL,main=NULL,ylim=NULL)  




       

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.



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 Received on Thu Dec 29 10:49:38 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:42 EST