generatePriorLambda: generatePriorLambda

Description Usage Arguments Examples

View source: R/prior.R

Description

evaluate prior value for parameter Lambda

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 July 2, 2020, 2:51 a.m.