Visualizes the values of the observations that were identified as the medoids giving insight in the overall qualities that constitute the clusters.

plotPamMedoids(
  object,
  variable_set,
  k,
  method_pam = NULL,
  phase = NULL,
  clrp = NULL,
  verbose = NULL
)

Arguments

object

A valid cypro object.

variable_set

Character value. Denotes the variable set of interest. Use getVariableSetNames() to obtain all names of currently stored variable sets in your object.

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 adjustDefault().

Ignored if the experiment design contains only one phase.

clrp

Character value. Specifies the color palette to be used to represent groups of discrete variables. Run validColorPalettes() to obtain valid input options.

verbose

Logical. If set to TRUE informative messages regarding the computational progress will be printed.

(Warning messages will always be printed.)

Value

A ggplot.