Description Usage Arguments Value Author(s) References Examples
Generates samples from the posterior distribution of the log-linear parameters.
1 |
formula |
A model formula. |
alpha |
The value of the hyperparameter alpha. |
data |
A data frame containing the contingency table. All cells must be included in data and the last column must be the cell counts. The number of variables in the contingency table must be at least 2. |
nSamples |
Number of iterations of the Gibbs sampler. |
verbose |
Displays current iteration number of the sampler. |
theta |
An array where each row represents a sample from the Posterior distribution of the log-linear parameters. The first 5000 or so samples should be discarded as a burn-in period. |
Matthew Friedlander
see vignette
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.