Learn R Programming

GeomArchetypal (version 1.0.3)

plot.closer_grid_archetypal: Plot an Object of the Class closer_grid_archetypal

Description

It plots the output of closer_grid_archetypal

Usage

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

Value

No return value, called for side effects

Arguments

x

An object of the class closer_grid_archetypal

...

Other arguments (ignored)

Details

Given an object of class closer_grid_archetypal the archetypal analysis result is plotted.

Examples

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

Run the code above in your browser using DataLab