View source: R/change_observations.R
ChangeObservations | R Documentation |
Using a fitted Dirichlet process object include new data. The new data will be assigned to the best fitting cluster for each point.
ChangeObservations(dpobj, newData)
dpobj |
The Dirichlet process object. |
newData |
New data to be included |
Changed Dirichlet process object
y <- rnorm(10)
dp <- DirichletProcessGaussian(y)
dp <- ChangeObservations(dp, rnorm(10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.