Hello, I have a txt file that I import and want to plot a chartSeries of 
data.My code plus the error I receive are below: (I have installed packages 
TTR, fBasics, zoo, quantmod, xts)
> yt=read.table("/Users/Arslan/Documents/Econ 4140/ARModel.txt",header=T)> 
> head(yt)       ytsim1  3.04497412 -0.95401593  0.25043094 -0.69580895  
> 1.95196236  1.4400745> tail(yt)          ytsim994  0.46729230995 
> -0.19794905996  2.25884772997  0.91227832998 -0.02632859999 -0.66917710> 
> chartSeries(yt)Error in try.xts(x, error = "chartSeries requires an xtsible 
> object") :   chartSeries requires an xtsible object
how do I perform chartSeries command?
Thank you,Arslan                                          
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to