Description Usage Arguments Value
Fit the hidden Potts model using approximate Bayesian computation with sequential Monte Carlo (ABC-SMC).
1 2 3 4 5 6 7 |
y |
A vector of observed pixel data. |
neighbors |
A matrix of all neighbors in the lattice, one row per pixel. |
blocks |
A list of pixel indices, dividing the lattice into independent blocks. |
param |
A list of options for the ABC-SMC algorithm. |
priors |
A list of priors for the parameters of the model. |
A matrix containing SMC samples for the parameters of the Potts model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.