cl.plot function plots the clustering model constructed by the cl.analysis function.

cl.plot(clustering.model, parameters = list())

Arguments

clustering.model

Object returned by the cl.analysis function.

parameters

List of parameters to indicate plotting of ellipses or convex hulls. Default values: list(ellipses=FALSE, convex.hulls=FALSE).

See also

cl.analysis

Examples

inputs.clustering <- cl.analysis(city_data, cl.meth="pam", clust.numb=2)
#> Error in cl.analysis(city_data, cl.meth = "pam", clust.numb = 2): object 'city_data' not found
cl.plot(inputs.clustering, parameters = list(ellipses=TRUE))
#> Error in is(clustering.model, "json"): object 'inputs.clustering' not found