Description Usage Arguments Value
View source: R/HierarchicalModels.R
Assumes a multivariate hyperparameter theta with each component following an independent Beta distribution. A matrix indicates which component theta is used for what component of p.
1 | Model.p.Betaprior_mult(Ip, shape1 = 1, shape2 = 1)
|
Ip |
matrix consisting of integers that describe which component of theta is used for a given position in the matrix. Must consist of nonnegative integers (0 encoding forced 0s in the matrix), using all integers in the range. |
shape1 |
first parameter of Beta prior on theta. Default 1. |
shape2 |
second parameter of Beta prior theta. Default 1. |
the resulting model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.