powered by
Generates a libabilities matrix using a the prior distribution from a given model for p and lambda.
genL(model)
a model for p and lambda.
A list consisting of a liabilities matrix and the parameter vector theta.
# NOT RUN { n <- 5 m <- Model.Indep.p.lambda(Model.p.BetaPrior(n), Model.lambda.GammaPrior(n,scale=1e-1)) genL(m) # }
Run the code above in your browser using DataLab