slsaplot: Segment Level Stability Across Solutions Plot.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/relabel.R

Description

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

Usage

1
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

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

flexclust documentation built on May 2, 2019, 10:59 a.m.