[R] get.hist.quote - is great, but am I missing something?

Robert W. Baer, Ph.D. rbaer at atsu.edu
Wed Mar 3 20:35:01 CET 2004


> > I guess I'm not understanding the object that get.hist.quote makes. In
> > general, what are R facilities for discovering what a given object is?
>
> I suggest, you study first one of the beginners manuals of the R
> environment: http://cran.r-project.org/manuals.html
> Then you would easily see that, e.g., x[,"Close"] gives you the series
> of closing prices, time(x) gives you the series of times and so on...

Some things you could do to investigate the object (besides printing it
out):
str(x)
class(x)
mode(x)
structure(s)

Rob




More information about the R-help mailing list