plot.grid_archetypal {GeomArchetypal}R Documentation

Plot an Object of the class grid_archetypal

Description

It plots the output of grid_archetypal

Usage

## S3 method for class 'grid_archetypal'
plot(x, ...)

Arguments

x

An object of the class grid_archetypal

...

Other arguments (ignored)

Details

Given an object of class grid_archetypal the archetypal analysis result is plotted.
Remark: the first 2^d rows of the input data frame has Grid Archetypes (d is the dimension of the data points).

Value

No return value, called for side effects

Examples

# Load package
library(GeomArchetypal)  
# Create random data:
set.seed(20140519)
df=matrix(runif(90) , nrow = 30, ncol=3) 
colnames(df)=c("x","y","z")
# Grid Archetypal:
gaa=grid_archetypal(df, niter = 70, verbose = FALSE)
# Plot the class "archetypal":
plot(gaa)    

[Package GeomArchetypal version 1.0.2 Index]