generatePriorPsi: generatePriorPsi

Description Usage Arguments Examples

View source: R/prior.R

Description

generate prior value for parameter Psi

Usage

1
generatePriorPsi(p, m, delta, bbeta, constraint)

Arguments

p

the number of features

m

the number of clusters

delta

hyperparameters

bbeta

hyperparameters

constraint

the pgmm constraint, a vector of length three with binary entry. For example, c(1,1,1) means the fully constraint model

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
p <- 10
m <- 20
delta <- 2
bbeta <- 2
constraint <- c(0, 0, 0)


generatePriorPsi(
  p,
  m,
  delta,
  bbeta,
  constraint
)

bpgmm documentation built on July 2, 2020, 2:51 a.m.