Description Usage Arguments Value Examples
View source: R/HierarchicalModels.R
Assumes a Beta prior on the one-dimensional link existence probabilities p. This model has a one-dimensional parameter.
1 | 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.
1 2 | 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.