[R-SIG-Finance] quantmod, mfrow, plot question

Db pict100 at gmail.com
Wed May 30 01:29:24 CEST 2012


require(quantmod)
sym <-c("^GSPC", "TIP")
getSymbols(sym, from='2009-01-06', to=Sys.Date())
z <-to.monthly(TIP)
z <-z[,6]
z1 <-z-mean(z)
par(mfrow=c(3,1))
plot(z)
# acf,pacf are plotting already 
acf(ts(z1))
pacf(ts(z1))

--
View this message in context: http://r.789695.n4.nabble.com/quantmod-mfrow-plot-question-tp4631656p4631779.html
Sent from the Rmetrics mailing list archive at Nabble.com.



More information about the R-SIG-Finance mailing list