Learn R Programming

archetypal (version 1.3.1)

plot.archetypal: Plot an object of the class archetypal.

Description

It makes a plot of the archetypes creating after using archetypal

Usage

# S3 method for archetypal
plot(x, ...)

Arguments

x

An object of the class archetypal

...

Other arguments (ignored)

Details

If the data frame has column dimension at most 3, then a direct plot is available. Otherwise we use a "spike-spider" plot which is a combination of the common "spider" or "web" or "radar" plot with an additional "spike plot" that shows the frequency of each variable at the same line of the spider plot.

Examples

Run this code
{# \donttest{
## Use the sample data "wd2"
data(wd2)
aa=archetypal(wd2, 3)
plot(aa)
# }
}

Run the code above in your browser using DataLab