plot_cluster_network {adproclus} | R Documentation |
Network plot of a (low dimensional) ADPROCLUS solution
Description
Produce a representation of a (low dimensional) ADPROCLUS solution,
where each cluster is a vertex and the edge between two vertices represents
the overlap between the corresponding clusters.
The size of a vertex corresponds to the cluster size.
The overlap is represented through color, width and numerical label
of the edge.
The numerical edge labels can be relative
(number of overlap observations / total observations)
or absolute (number of observations in both clusters).
NOTE: This function can be called through the
plot(model, type = "Network")
function with model an
object of class adpc
.
Usage
plot_cluster_network(
model,
title = "Cluster network of ADPROCLUS solution",
relative_overlap = TRUE,
filetype = NULL,
filename = NULL,
...
)
Arguments
model |
ADPROCLUS solution (class: |
title |
String. Default: " Cluster network of ADPROCLUS solution" |
relative_overlap |
Logical. If |
filetype |
Optional. Choose type of file to save the plot.
Possible choices: |
filename |
Optional. Name of the file without extension. |
... |
Additional arguments passing to the
|
Value
Invisibly returns the input model.
Examples
# Loading a test dataset into the global environment
x <- stackloss
# Quick low dimensional clustering with K = 3 clusters and S = 1 dimensions
clust <- adproclus_low_dim(x, 3, 1)
# Plot the overlapping the clusters
plot_cluster_network(clust)