This function conducts an mclust analysis of the data provided, and plots
the points in 3D using rgl graphics. An option is provided for displaying
either classical or robust confidence ellipses. An internal function not
generally called by the user. See `mclust3dSpectra`

instead.

1 2 3 |

`data` |
A matrix of 3 columns (corresponding to x, y, z) and samples in rows. |

`ellipse` |
Logical indicating if confidence ellipses should be drawn. |

`rob` |
Logical; if |

`cl` |
A number indicating the confidence interval for the ellipse. |

`frac.pts.used` |
If |

`truth` |
A character vector indicating the known group membership for
reach row of the PC scores. Generally this would be |

`title` |
A character string for the plot title. |

`t.pos` |
A character selection from |

`lab.opts` |
A logical indicating whether or not to display the locations where the title and legend can be placed. These locations are the corners of a cube surrounding the data. |

`use.sym` |
logical; if true, the color scheme is changed to black and symbols are used for plotting. |

`...` |
Other parameters to be passed downstream. |

The mclust model is returned invisibly, and a plot is produced.

Bryan A. Hanson, DePauw University.

https://github.com/bryanhanson/ChemoSpec

`Mclust`

for background on the method.

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
## Not run:
require("mclust")
set.seed(666)
x <- c(rnorm(10, 3, 0.5), rnorm(10, -1, 0.5))
y <- c(rnorm(10, 1, 1), rnorm(10, -4, 0.5))
z <- c(rnorm(10, -2, 0.5), rnorm(10, 3, 0.5))
x[15] <- y[15] <- z[15] <- 4 # screw up one point
my.truth <- c(rep("Z", 10), rep("Q", 10))
mclust3D(cbind(x, y, z), title = "mclust3D demo",
t.pos = "G", truth = my.truth)
## End(Not run)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.