Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sct3

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

A binClst_instance.

...

Parameters ref, showVars and showClst are optional.

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)

EMbC

Expectation-Maximization Binary Clustering

v2.0.3
GPL-3 | file LICENSE
Authors
Joan Garriga, John R.B. Palmer, Aitana Oltra, Frederic Bartumeus
Initial release
2019-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.