generatePriorPsi | R Documentation |
generate prior value for parameter Psi
generatePriorPsi(p, m, delta, bbeta, constraint)
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 |
p <- 10 m <- 20 delta <- 2 bbeta <- 2 constraint <- c(0, 0, 0) generatePriorPsi( p, m, delta, bbeta, constraint )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.