[R] writing function (plot problem)

casperyc casperyc at hotmail.co.uk
Sun Apr 11 01:49:22 CEST 2010


Hi,

=======================
x=rnorm(20)
y=rnorm(20)
t=lm(y~x)
plot(t)
=======================

you will get 

"click or hit enter to next page..."

how do I write a function to archieve this ?

say

plot(x,y)
then pause, wait
plot(y,x)

Thanks!

casper
-- 
View this message in context: http://n4.nabble.com/writing-function-plot-problem-tp1835723p1835723.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list