mrfbayes | R Documentation |
Metropolis-Hasting algorithm for Markov Random Fields on lattices
mrfbayes(
z,
llapprox,
nsamples = 1000,
init_theta = "zero",
sdprior = 10,
sdkernel = 0.05,
verbose = interactive()
)
z |
The observed random field. |
llapprox |
The likelihood approximation to be used. |
nsamples |
Number of MCMC samples. |
init_theta |
Initial values of the MCMC algorithm. Set to "zero" to
automatically create a vector equal to zero with appropriate length or
"pl" to use the Maximum Pseudolikelihood estimator of |
sdprior |
Sample Deviation of the Normal distributions used as prior. |
sdkernel |
Sample Deviation of the Normal distributions of the transition kernel. |
verbose |
|
An object of class mrfbayes_out
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.