reflect_on_boundaries | R Documentation |
Adjust a proposal according to its support by reflecting it. This is the workhorse of kernel_normal_reflective and kernel_unif_reflective. It is intended for internal use only.
reflect_on_boundaries(x, lb, ub, which)
x |
A numeric vector. The proposal |
lb, ub |
Numeric vectors of length |
which |
Integer vector. Index of variables to be updated. |
An adjusted proposal vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.