Description Usage Arguments Value Examples
View source: R/unif_rejection.R
unif_rej
is used for uniform rejection sampling.
1 | unif_rej(a, b)
|
a |
lower bound |
b |
upper bound |
unif_rej
returns a list
x
: sampled value; and
acc
: total number of draw used.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.