Sample in R

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Sample in R

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
Reply | Threaded
Open this post in threaded view
|

Re: Sample in R

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://r.789695.n4.nabble.com/Sample-in-R-tp3001818p3001818.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> [hidden email] 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.

______________________________________________
[hidden email] 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.