[R] 2 simple question

David Winsemius dwinsemius at comcast.net
Fri Apr 23 23:22:10 CEST 2010


On Apr 23, 2010, at 4:57 PM, 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, ...) <--- 3. screen
>
> plot(z, x, ...) <--- 2. screen

?locator   # for getting screen coordinate
?points    # for plotting

>
> 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)
>
> Thank you!

-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list