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