[R] all possible samples

2003-09-17 Thread lamack lamack
Dear all, there is an R function that return all possible samples of size n, with replacement, from a vector of length N ? Best regards __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] all possible samples

2003-09-17 Thread apjaworski
: [R] all possible samples | -| Dear all, there is an R function that return all

RE: [R] all possible samples

2003-09-17 Thread Ted Harding
On 17-Sep-03 lamack lamack wrote: Dear all, there is an R function that return all possible samples of size n, with replacement, from a vector of length N ? Without delving into R to see if such a thing exists already, I can suggest the following (based on an algorithm to be found in