sct3 {EMbC} | R Documentation |
Dynamic 3D-scatterplot
Description
sct3
generates a dynamic 3D-scatterplot of a multivariate
binClst_instance, showing clusters in different colors. The scatter
plot can be zoomed/rotated with the mouse.
Usage
sct3(obj, ...)
## S4 method for signature 'binClst'
sct3(obj, showVars = NULL, showClst = NULL, ...)
Arguments
obj |
|
... |
Parameters |
showVars |
When the number of variables is greater than two, a length 3 numeric vector indicating one splitting variable and two variables to be scattered (given in that order). |
showClst |
When the number of variables is greater than two, a numeric vector (of variable length) indicating a subset of the clusters that will be shown in the scatter plot. This is useful in case of overlapping clusters. |
Details
This function needs the package "rgl" to be installed.
Examples
## Not run:
# -- apply EMbC to the example path with scv='height' --
mybcp <- stbc(expth,scv='height')
# -- show a dynamic 3D-scatterplot --
sct3(mybcp)
# -- show only a subset of clusters --
sct3(mybcp,showClst=c(2,4,6))
## End(Not run)
[Package EMbC version 2.0.4 Index]