[R] Hello R user!

John Kane jrkrideau at inbox.com
Tue Dec 17 18:45:31 CET 2013


The plots did not arrive. The R-help list is fussy about what it allows to go through.

Actually the best way of doing things is to use dput() to provide sample data.  See https://github.com/hadley/devtools/wiki/Reproducibility or  http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

To answer your question probably you want to have a look a "mfcol" or "mfrow" under ?par.

John Kane
Kingston ON Canada


> -----Original Message-----
> From: mbhpathak at gmail.com
> Sent: Tue, 17 Dec 2013 09:33:30 -0800
> To: r-help at r-project.org
> Subject: [R] Hello R user!
> 
> Hello R user,
> 
> I have created two plots (attached!) using the codes below
> and would like to merge these figures in one. any suggestions are highly
> appreciated!
> Thanks,
> 
> plot(graph1$yod,graph1$xod,data=graph1)
> dfx = data.frame(ev1=graph1$xod, ev2=graph1$yod, ev3=abs(graph1$dif))
> symbols(x=dfx$ev1, y=dfx$ev2, circles=dfx$ev3,inches=1/8, ann=F,
> bg="black", fg=NULL,xlim=c(-35,35),ylim=c(-35,35))
> abline(h=0,v=0)
> 
> plot(graph2$yod,graph2$xod,data=graph2)
> dfx = data.frame(ev1=graph2$xod, ev2=graph2$yod, ev3=abs(graph2$dif))
> lines(symbols(x=dfx$ev1, y=dfx$ev2, circles=dfx$ev3,inches=1/8, ann=F,
> bg="blue", fg=NULL,xlim=c(-35,35),ylim=c(-35,35)))
> abline(h=0,v=0)
> 
> Best,
> Bibek
> ______________________________________________
> R-help at r-project.org mailing list
> 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.

____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!



More information about the R-help mailing list