简体   繁体   中英

Extract specific plots from a matrix of plots

I have the timeseries object below and I create a matrix of acf plots. How could I extract only one of all these? Lets say DAX&CAC

tseu<-ts(EuStockMarkets)

acfs<-acf(tseu)

The information is stored in the acfs object that you created. You can get the plot that you want using:

plot(acfs$acf[,1,3], type="h", ylim=0:1, ylab="", xlab="Lag",
    main=paste(acfs$snames[1], "&", acfs$snames[3]))

自相关图

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM