flexclust (version 1.4-0)

slsaplot: 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.

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.

Details

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

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

Run this code
# NOT RUN {
data("Nclus")
cl25 <- stepFlexclust(Nclus, k=2:5)
slsaplot(cl25)
cl25 <- relabel(cl25)
slsaplot(cl25)
# }

Run the code above in your browser using DataCamp Workspace