Initialise a Dirichlet process object by assigning all the data points to a single cluster with a posterior or prior draw for parameters.
Initialise(
  dpObj,
  posterior = TRUE,
  m = 3,
  verbose = TRUE,
  numInitialClusters = 1
)A Dirichlet process object that has initial cluster allocations.
A Dirichlet process object.
TRUE/FALSE value for whether the cluster parameters should be from the posterior. If false then the values are from the prior.
Number of auxiliary variables to use for a non-conjugate mixing distribution. Defaults to m=3. See ClusterComponentUpdate for more details on m.
Logical flag indicating whether to output the acceptance ratio for non-conjugate mixtures.
Number of clusters to initialise with.