histogram-methods {flexclust} | R Documentation |
Methods for Function histogram in Package ‘flexclust’
Description
Plot a histogram of the similarity of each observation to each cluster.
Usage
## S4 method for signature 'kccasimple,missing'
histogram(x, data, xlab="", ...)
## S4 method for signature 'kccasimple,data.frame'
histogram(x, data, xlab="", ...)
## S4 method for signature 'kccasimple,matrix'
histogram(x, data, xlab="Similarity",
power=1, ...)
Arguments
x |
An object of class |
data |
If not missing, the distance and thus similarity between observations and cluster centers is determined for the new data and used for the plots. By default the values from the training data are used. |
xlab |
Label for the x-axis. |
power |
Numeric indicating how similarities are transformed, for more details see Dolnicar et al. (2018). |
... |
Additional arguments passed to
|
Author(s)
Friedrich Leisch
References
Dolnicar S., Gruen B., and Leisch F. (2018) Market Segmentation Analysis: Understanding It, Doing It, and Making It Useful. Springer Singapore.
[Package flexclust version 1.4-2 Index]