Learn R Programming

flexclust (version 1.4-1)

histogram-methods: Methods for Function histogram in Package `flexclust'

Description

Plot a histogram of the

Usage

# S4 method for kccasimple,missing
histogram(x, data, xlab="", ...)
# S4 method for kccasimple,data.frame
histogram(x, data, xlab="", ...)
# S4 method for kccasimple,matrix
histogram(x, data, xlab="similarity",
          power=1, ...)

Arguments

x

An object of class "kccasimple".

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 histogram.

References

Dolnicar S., Gruen B., and Leisch F. (2018) Market Segmentation Analysis: Understanding It, Doing It, and Making It Useful. Springer Singapore.