Re: [R] Help with urnsamples and all possible combination

2015-05-26 Thread MGalla
Thanks for your help. So I have to try it on the long way, because I need exactly all combinations, but thanks for the idea. Best wishes Michelle Galla -- View this message in context: http://r.789695.n4.nabble.com/Help-with-urnsamples-and-all-possible-combination-tp4707560p4707676.html Sent f

[R] Help with urnsamples and all possible combination

2015-05-23 Thread MGalla
Hello, i need some help to use urnsamples from the package "prob". At the moment i use it in this way A<-as.matrix(urnsamples(1:25, size = 7,ordered=FALSE,replace=TRUE)) So I get the numbers 1 to 25 and choose 7 of them, but it is possible to get one number more than one time. But I want addi