Visualizes the cluster quality of different partitioning around medoids results.
plotAvgSilhouetteWidths(
object,
variable_set,
k,
method_pam = NULL,
phase = NULL,
clr = "steelblue",
display_cols = TRUE,
display_line = TRUE,
display_points = TRUE
)
plotSilhouetteWidths(
object,
variable_set,
k,
method_pam = NULL,
phase = NULL,
clrp = NULL,
ncol = NULL,
nrow = NULL,
verbose = NULL
)
object | A valid cypro object. |
---|---|
variable_set | Character value. Denotes the variable set of interest. Use |
k | Numeric vector. The k-values of interest. |
method_pam | Character vector (or value see details for more.) Denotes the algorithm of interest. Valid input options are 'euclidean' and 'manhattan'. |
phase | Character or numeric. If character, the ordinal value referring to the phase of interest (e.g. 'first', 'second' etc.). referring to the phase of interest or 'all'. If numeric, the number referring to the phase. If set to NULL takes the phase denoted as default with Ignored if the experiment design contains only one phase. |
display_cols | Logical value. If set to TRUE columns are used additionally to display the results. |
display_line | Logical value. If set to TRUE a line is used additionally to display the results. |
display_points | Logical value. If set to TRUE points are used additionally to display the results. |
clrp | Character value. Specifies the color palette to be used to represent
groups of discrete variables. Run |
ncol | Given to |
nrow | Given to |
verbose | Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
A ggplot.
Specify method_pam
as a character value.