Displaying 1 result from an estimated 1 matches for "tp20138441p20138441".
2008 Oct 23
3
R random number generation
...112.i should
get similar output for all sizes which means i should get 30 sequences.but
am getting only one sequence .please help.
this is my code
y=0;
for (i in 1:3)
{
while(y!=i)
{
y=sample(1:3,replace=TRUE);
}
}
--
View this message in context: http://www.nabble.com/R-random-number-generation-tp20138441p20138441.html
Sent from the R help mailing list archive at Nabble.com.