Description Usage Arguments Value
View source: R/rejection_sampling.R
Rejection sampler for univariate data.
1 | RejectionSampler(theta.list, f, g, M)
|
theta.list |
linspace. |
f |
target distribution. |
g |
proposed distribution. |
M |
constant determinig the accptance rate. |
sample samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.