generatePriorLambda {bpgmm} | R Documentation |
generatePriorLambda
Description
evaluate prior value for parameter Lambda
Usage
generatePriorLambda(p, m, alpha2, qVec, psy, constraint)
Arguments
p |
the number of features |
m |
the number of clusters |
alpha2 |
hyper parameter |
qVec |
parameter |
psy |
parameter |
constraint |
parameter |
Examples
p <- 10
m <- 20
alpha2 <- 1.18
qVec <- rep(4, m)
delta <- 2
bbeta <- 2
constraint <- c(0, 0, 0)
psy <- generatePriorPsi(
p,
m,
delta,
bbeta,
constraint
)
#'
generatePriorLambda(
p,
m,
alpha2,
qVec,
psy,
constraint
)
[Package bpgmm version 1.0.9 Index]