dmm.plot: Plot labeledData for a state returned by dmm

Description Usage Arguments Examples

View source: R/dmm_display.R

Description

Plot labeledData for a state returned by dmm

Usage

1
2
3
4
dmm.plot(labeledData)  

Given the data from a single state returned by dmm.cluster(...), plot it. Can do 2D, 1D, or 3D plots.
ggplot2 recommanded for 2D plots. scatterplot3d requried for 3D plots.

Arguments

labeledData

The data from a single state. Given states <- dmm.cluster(...), this input is states[[i]]$data.

Examples

1
2
states <- dmm.cluster(model,Xdata,...)  
 dmm.plot(states[[1]]$data)  

nsdumont/jDirichletMixtureModels documentation built on May 23, 2019, 2:51 p.m.