View source: R/HierarchicalModels.R
Model.p.BetaPrior | R Documentation |
Assumes a Beta prior on the one-dimensional link existence probabilities p. This model has a one-dimensional parameter.
Model.p.BetaPrior(n, shape1 = 1, shape2 = 1)
n |
dimension of matrix. |
shape1 |
first parameter of Beta prior. Default 1. |
shape2 |
second parameter of Beta prior. Default 1. |
the resulting model.
m <- Model.p.BetaPrior(5)
m$matr(m$rtheta())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.