View source: R/eta_half_t_sampling.R
r_trunc_poly_exp_crn | R Documentation |
Perfect sampling from p(x) \prop x^(poly_exponent-1)*exp(-rate*x) on [0,trunc_upper]
r_trunc_poly_exp_crn(poly_exponent, rate, trunc_upper, unif)
poly_exponent |
positive scalar |
rate |
positive vector (function is vectorized) |
trunc_upper |
positive scalar |
unif |
positive scalar |
Returns vectorised samples from p(x) \prop x^(poly_exponent-1)*exp(-rate*x) on [0,trunc_upper]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.