sct3 | R Documentation |
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.
sct3(obj, ...)
## S4 method for signature 'binClst'
sct3(obj, showVars = NULL, showClst = NULL, ...)
obj |
A binClst_instance. |
... |
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. |
This function needs the package "rgl" to be installed.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.