slsaplot: Segment Level Stability Across Solutions Plot.

View source: R/relabel.R

slsaplotR Documentation

Segment Level Stability Across Solutions Plot.

Description

Create a segment level stability across solutions plot, possibly using an additional variable for coloring the nodes.

Usage

slsaplot(object, nodecol = NULL, ...)

Arguments

object

An object returned by stepFlexclust.

nodecol

A numeric vector of length equal to the number of observations clustered in object which represents an additional variable where a cluster-specific mean is calculated and used to color the nodes.

...

Additional graphical parameters to modify the plot.

Details

For more details see Dolnicar and Leisch (2017) and Dolnicar et al. (2018).

Value

List of length equal to the number of different cluster solutions minus one containing numeric vectors of the entropy values used by default to color the nodes.

Author(s)

Friedrich Leisch

References

Dolnicar S. and Leisch F. (2017) "Using Segment Level Stability to Select Target Segments in Data-Driven Market Segmentation Studies" Marketing Letters, 28 (3), pp. 423–436.

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

See Also

stepFlexclust, relabel, slswFlexclust

Examples

data("Nclus")
cl25 <- stepFlexclust(Nclus, k=2:5)
slsaplot(cl25)
cl25 <- relabel(cl25)
slsaplot(cl25)

flexclust documentation built on April 8, 2022, 5:09 p.m.