plot_archs {archetypal}R Documentation

A function for plotting arechetypes

Description

A data frame or matrix of archetypes can be plotted

Usage

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)

[Package archetypal version 1.3.1 Index]