Description Usage Arguments Value Author(s) Examples
For a general two parameter density defined on a grid, simulates a random sample.
1 | simcontour(logf,limits,data,m)
|
logf |
function that defines the logarithm of the density |
limits |
limits (xlo, xhi, ylo, yhi) that cover the joint probability density |
data |
vector or list of parameters associated with the function logpost |
m |
size of simulated sample |
x |
vector of simulated draws of the first parameter |
y |
vector of simulated draws of the second parameter |
Jim Albert
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.