View source: R/plot.archetypal.R
plot.archetypal | R Documentation |
It makes a plot of the archetypes creating after using archetypal
## S3 method for class 'archetypal'
plot(x, ...)
x |
An object of the class archetypal |
... |
Other arguments (ignored) |
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.
{
## Use the sample data "wd2"
data(wd2)
aa=archetypal(wd2, 3)
plot(aa)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.