plotAvgSilWidths: Plot avg sil-width data

plotAvgSilWidthsR Documentation

Plot avg sil-width data

Description

Plots information about the average silhouette widths of different clustering results with method pam.

Usage

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
)

Arguments

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.

Value

A ggplot.


kueckelj/confuns documentation built on July 4, 2024, 4:53 p.m.