[R] 2 simple question

Jim Lemon jim at bitwrit.com.au
Sat Apr 24 14:11:47 CEST 2010


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



More information about the R-help mailing list