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

Rlotus yerlan_ at hotmail.com
Fri Oct 26 05:49:44 CEST 2012


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 code....it gives me only one dote.....

number<- (0,2,3,4,5,6,8)

for (i in seq(1:20))
{rsidpVector=rsidp(i)
mean(rsidpVector)
plot (length(rsidpVector), mean(rsidpVector), ylab="sample mean", xlab=
"sample size")
}

rsidp<- function(x){
i+0
{y<-sample(number,x,replace = TRUE)}
return(y)
}



--
View this message in context: http://r.789695.n4.nabble.com/wanna-create-all-points-tp4647494.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list