View source: R/cluster_component_update.R
ClusterComponentUpdate | R Documentation |
Update the cluster assignment for each data point.
ClusterComponentUpdate(dpObj)
## S3 method for class 'conjugate'
ClusterComponentUpdate(dpObj)
## S3 method for class 'hierarchical'
ClusterComponentUpdate(dpObj)
dpObj |
Dirichlet Process object |
Dirichlet process object with update components.
dp <- DirichletProcessGaussian(rnorm(10))
dp <- ClusterComponentUpdate(dp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.