Shrink | R Documentation |
Slice sampler: shrinkage procedure Neal(2003) fig.5
Shrink(foo, x0, y0, L, R, m = 100, Rmx = 475, Lmin = 20)
foo |
function (required) function proportional to the density |
x0 |
numeric (required) the current point |
y0 |
numeric (required) the vertical level defining the slice |
L |
numeric (required) left boundary of the interval to sample from |
R |
numeric (required) right boundary of the interval to sample from |
m |
numeric (with default) |
Rmx |
numeric (with default) |
Lmin |
numeric (with default) |
a list with the following elements
**Elements Type Description
$x1numeric the new point
$L numeric the new left boundary of the slice
$R numeric the new right boundary of the slice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.