Learn R Programming

SpectralClMixed (version 1.0.1)

plot.SpectralClMixed: Plots the output of mspec

Description

Plots the output of the function mspec, which performs Spectral clustering for mixed type data. The function displays up to 10 variables on a parrallel coordinate plot and on a scatter plot matrix, with colors representing the clustering partition

Usage

# S3 method for SpectralClMixed
plot(x,cols=NULL,...)

Value

No return value,the function produces a parallel coordinate plot and a scatter plot matrix

Arguments

x

object of SpectralClMixed class, the output of mspec

cols

For datasets with more than 10 columns, columns to plot

...

other graphic parameters

Examples

Run this code
ex1=mspec(iris,3)
 plot(ex1,cols=1:4)

Run the code above in your browser using DataLab