generatePriorLambda: generatePriorLambda

View source: R/prior.R

generatePriorLambdaR 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
)


bpgmm documentation built on June 2, 2022, 1:10 a.m.