[R] 2 simple question

Nikhil Kaza nikhil.list at gmail.com
Sat Apr 24 18:37:17 CEST 2010


If I understand it correctly

par(mfrow=c(2,2))
plot(x,y)
plot(y,z)
.....

should work.


On Apr 24, 2010, at 8:11 AM, Jim Lemon wrote:

> On 04/24/2010 02:52 AM, tamas barjak wrote:
>> Hi All!
>>
>> I have 2 plain questions:
>>
>> 1.)
>> I know that very primitive question, but that to grant it, that the  
>> drawing
>> on the screen divided up onto which part draw
>>
>> for example:
>>
>>
>> layout(matrix(1:4,ncol=2, byrow=T))
>>
>> plot(x, y, ...)<--- 1. screen
>>
>> plot(y, z, ...)<--- 2. screen
>>
>> etc...
>>
>> 2.)
>>
>> How I can fix it and to insert the random numbers in order for him to
>> generate them later
>>
>> for example:
>>
>> a<-runif(100)
>>
>> and to insert these here--->  rnorm(100, 0, 1)
>>
> Hi Tamas,
> I may not understand what you are asking, but take a look at the  
> example for the "panes" function in the plotrix package.
> Jim
>
> ______________________________________________
> 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.



More information about the R-help mailing list