powered by
generate prior value for parameter Psi
generatePriorPsi(p, m, delta, bbeta, constraint)
the number of features
the number of clusters
hyperparameters
the pgmm constraint, a vector of length three with binary entry. For example, c(1,1,1) means the fully constraint model
# NOT RUN { p <- 10 m <- 20 delta <- 2 bbeta <- 2 constraint <- c(0, 0, 0) # } # NOT RUN { generatePriorPsi( p, m, delta, bbeta, constraint ) # }
Run the code above in your browser using DataLab