[R] Sample in R

2010-10-19 Thread emj83
Hi, Please can someone tell me if using sample() in R is actually a quick way of doing the Inverse Transform Sampling Method? Many thanks Emma -- View this message in context: http://r.789695.n4.nabble.com/Sample-in-R-tp3001818p3001818.html Sent from the R help mailing list archive

Re: [R] Sample in R

2010-10-19 Thread Darin A. England
No. ?sample to see what sample() does. On Tue, Oct 19, 2010 at 02:59:05AM -0700, emj83 wrote: Hi, Please can someone tell me if using sample() in R is actually a quick way of doing the Inverse Transform Sampling Method? Many thanks Emma -- View this message in context: http