Re: [R] wanna create all points.....

2012-10-28 Thread Rui Barradas
Hello, You had enough answers to variants of this question to already know to open a graphics device once and _just_ once using plot() and then, in the loop, use points(). plot(1, type = "n", xlim = c(0, 20), ylim = c(0, 8), ylab="sample mean", xlab="sample size") for (i in seq(1:20

Re: [R] wanna create all points.....

2012-10-25 Thread David Winsemius
On Oct 25, 2012, at 8:49 PM, Rlotus wrote: > Plz help me ;(( I lost 7 hours for thinking and doing this code ;( I need to > create points.20 points(dots). All these dots have to be in one graph... > when i run this codeit gives me only one dote. You got twenty dots. It's just that th

Re: [R] wanna create all points.....

2012-10-25 Thread Rlotus
One dote..and its a last dote of the loop ;( -- View this message in context: http://r.789695.n4.nabble.com/wanna-create-all-points-tp4647494p4647495.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailin

[R] wanna create all points.....

2012-10-25 Thread Rlotus
Plz help me ;(( I lost 7 hours for thinking and doing this code ;( I need to create points.20 points(dots). All these dots have to be in one graph... when i run this codeit gives me only one dote. number<- (0,2,3,4,5,6,8) for (i in seq(1:20)) {rsidpVector=rsidp(i) mean(rsidpVector) pl