[R] Sample in R

Darin A. England england at cs.umn.edu
Tue Oct 19 19:34:47 CEST 2010


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://r.789695.n4.nabble.com/Sample-in-R-tp3001818p3001818.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list