Skip to content
Prev 68792 / 398506 Next

how to replace text...

On Apr 29, 2005, at 6:11 AM, Jonathan Q. wrote:

            
You should probably use a list instead.  This is a FAQ (see 7.21):

http://cran.r-project.org/doc/FAQ/R-FAQ.html

Here is about how you might do it (untested):

pricelist <- list()

pricelist[['IBM']] <- pricelts('IBM',quote="Close")
pricelist[['QQQQ']] <- pricelts('QQQQ',quote="Close")

par(ask=T)
lapply(pricelist,plot)

Does this do what you want?

Sean