[R] multifigure question

Dimitris Rizopoulos dimitris.rizopoulos at med.kuleuven.be
Fri Sep 23 14:27:06 CEST 2005


probably you need:

par(mfrow = c(1, 3))
plot(a$V1)
plot(b$V1)
plot(c$V1)


I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://www.med.kuleuven.be/biostat/
     http://www.student.kuleuven.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Karin Lagesen" <karin.lagesen at medisin.uio.no>
To: <r-help at stat.math.ethz.ch>
Sent: Friday, September 23, 2005 2:14 PM
Subject: [R] multifigure question


>
> I would like to put three figures next to each other in
> a figure. I have been reading the introduction to R,
> section 12 several times now, and I still can't make heads
> or tails out of it.
>
> Lets say that I have three dataframes a, b, c, and I want
> to plot a$V1, b$V1 and c$V1 in separate plots simply using
> plot(), how do I put them next to each other?
>
> I am sorry if this is a FAQ, but I cannot understand what
> it says in the guide and the wonderful google couldn't
> turn up anything helpful either...:)
>
> Karin
> -- 
> Karin Lagesen, PhD student
> karin.lagesen at medisin.uio.no
> http://www.cmbn.no/rognes/
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm




More information about the R-help mailing list