Description Usage Arguments Details Value References

Return a perfect sample from a centered autologistic model.

1 | ```
rautologistic(X, A, theta)
``` |

`X` |
the design matrix. |

`A` |
the adjacency matrix for the underlying graph. The matrix need not be binary, but it must be numeric and symmetric. |

`theta` |
the vector of parameter values: |

This function implements a perfect sampler for the centered autologistic model. The sampler employs coupling from the past.

A vector that is distributed exactly according to the centered autologistic model with the given design matrix and parameter values.

Moller, J. (1999) Perfect simulation of conditionally specified models. *Journal of the Royal Statistical Society, Series B, Methodological*, **61**, 251–264.

Propp, J. G. and Wilson, D. B. (1996) Exact sampling with coupled Markov chains and applications to statistical mechanics. *Random Structures and Algorithms*, **9**(1-2), 223–252.

donaldmusgrove/ngspatial documentation built on May 15, 2019, 10:37 a.m.

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.