Re: [R] Sample function and prob argument

2019-06-05 Thread Duncan Murdoch
On 05/06/2019 4:34 a.m., le Gleut, Ronan wrote: Dear R-help mailing list, First of all, many many thanks for your great work on the R project! I have a very small issue regarding the sample function. Depending if we specify values for the prob argument, we don't get the same result fo

[R] Sample function and prob argument

2019-06-05 Thread le Gleut, Ronan
Dear R-help mailing list, First of all, many many thanks for your great work on the R project! I have a very small issue regarding the sample function. Depending if we specify values for the prob argument, we don't get the same result for a random sampling with replacement and with equal pr