Learn R Programming

VBmix (version 0.3.2)

plotGmm:

Description

3D density plot of a 2D GMM.

Usage

plotGmm(mod, steps=200)

Arguments

mod
GMM object to plot
steps
specifies the hoizontal and vertical amount of vertices used to build the wireframe plot.

Value

a new plotting window with the 3D density plot.

See Also

displayScatter

Examples

Run this code
# a larger number of steps (eg 200) should be used for a visually effective 3D plot.
plotGmm(randomGmm(), steps=20)

Run the code above in your browser using DataLab