A function for plotting arechetypes
A data frame or matrix of archetypes can be plotted
plot_archs(archs, data = NULL, show_data = FALSE, ...)
archs
: The matrix or data frame of archetypes where each row represents an archetypedata
: Optional argument, if used data frame is knownshow_data
: if it set to TRUE, then the used data frame will be plotted at the same plot...
: Other arguments (ignored)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.
plot.archetypal
BY=matrix(c(5.430744, 2.043404, 3.128485, 3.146242, 2.710978, 4.781843), nrow = 3, byrow = TRUE) plot_archs(BY)
Useful links