
Last chance! 50% off unlimited learning
Sale ends in
sctr
generates a scatterplot from a
binClst_instance, showing clusters in different colors.
sctr(obj, ...)# S4 method for binClst
sctr(obj, ref = NULL, showVars = NULL, showClst = NULL, bg = NULL, ...)
# S4 method for binClstStck
sctr(obj, ref = NULL, showVars = NULL, showClst = NULL, ...)
A binClst_instance.
Parameters ref
, showVars
and showClst
are
optional.
A numeric vector with expert/reference labeling for visual validation of the clustering.
A second binClst_instance to be compared with the former.
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).
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.
A valid colour to be used as background colour for multivariate scatterplots. By default a light-grey colour is used to enhance data points visibility.
# -- apply EMbC to the example path --
mybcp <- stbc(expth,info=-1)
# -- show the scatterplot compared with expert labeling--
sctr(mybcp,expth$lbl)
Run the code above in your browser using DataLab