plot_archs function

A function for plotting arechetypes

A function for plotting arechetypes

A data frame or matrix of archetypes can be plotted

plot_archs(archs, data = NULL, show_data = FALSE, ...)

Arguments

  • archs: The matrix or data frame of archetypes where each row represents an archetype
  • data: Optional argument, if used data frame is known
  • show_data: if it set to TRUE, then the used data frame will be plotted at the same plot
  • ...: Other arguments (ignored)

Details

If the column dimension of the archetypes is less or ewqual to 3, then a normal plot is presented.

Otherwise, a "spike-spider" plot is crerated, see plot.archetypal for details.

See Also

plot.archetypal

Examples

BY=matrix(c(5.430744, 2.043404, 3.128485, 3.146242, 2.710978, 4.781843), nrow = 3, byrow = TRUE) plot_archs(BY)
  • Maintainer: Demetris Christopoulos
  • License: GPL (>= 2)
  • Last published: 2024-05-23

Useful links