powered by
Update the cluster assignment for each data point.
ClusterComponentUpdate(dpObj)
Dirichlet Process object
Dirichlet process object with update components.
# NOT RUN { dp <- DirichletProcessGaussian(rnorm(10)) dp <- ClusterComponentUpdate(dp) # }
Run the code above in your browser using DataLab