View source: R/HierarchicalModels.R
genL | R Documentation |
Generates a libabilities matrix using a the prior distribution from a given model for p and lambda.
genL(model)
model |
a model for p and lambda. |
A list consisting of a liabilities matrix and the parameter vector theta.
n <- 5
m <- Model.Indep.p.lambda(Model.p.BetaPrior(n),
Model.lambda.GammaPrior(n,scale=1e-1))
genL(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.