plotAvgSilWidths | R Documentation |
Plots information about the average silhouette widths of different clustering results with method pam.
plotAvgSilWidths(object, ...)
## S4 method for signature 'Clustering'
plotAvgSilWidths(
object,
ks,
methods_pam = "euclidean",
display_cols = TRUE,
col_alpha = 0.9,
col_color = "black",
col_fill = "steelblue",
display_line = TRUE,
line_alpha = 0.9,
line_color = "black",
line_size = 1.5,
display_points = TRUE,
pt_alpha = 0.9,
pt_color = "black",
pt_size = 4.5,
ncol = NULL,
nrow = NULL
)
## S4 method for signature 'Analysis'
plotAvgSilWidths(
object,
ks,
methods_pam = "euclidean",
display_cols = TRUE,
col_alpha = 0.9,
col_color = "black",
col_fill = "steelblue",
display_line = TRUE,
line_alpha = 0.9,
line_color = "black",
line_size = 1.5,
display_points = TRUE,
pt_alpha = 0.9,
pt_color = "black",
pt_size = 4.5,
ncol = NULL,
nrow = NULL
)
object |
Any object for whose class a method has been defined. |
... |
|
ks |
Numeric vector. Denotes all options for k-clusters. Values <1 are discarded. Is converted into an integer vector. |
A ggplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.