Description Usage Arguments Value See Also

Fit the hidden Potts model using a Markov chain Monte Carlo algorithm.

1 2 3 |

`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. |

`slices` |
Deprecated. |

`niter` |
The number of iterations of the algorithm to perform. |

`nburn` |
The number of iterations to discard as burn-in. |

`priors` |
A list of priors for the parameters of the model. |

`mh` |
A list of options for the Metropolis-Hastings algorithm. |

`truth` |
A matrix containing the ground truth for the pixel labels. |

A matrix containing MCMC samples for the parameters of the Potts model.

bayesImageS documentation built on May 20, 2017, 12:45 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.