Learn R Programming

PPtreeViz (version 1.0.3)

Huber.plot: Draw Huber plot for 2D data with various PP index

Description

Draw Huber plot for 2D data with various PP index

Usage

Huber.plot(origdata2D,origclass,PPmethod,weight,r,lambda,
           opt.proj,UserDefFtn,...)

Arguments

origdata2D
2D data for Huber plot
origclass
class information
PPmethod
method for projection pursuit; "LDA", "PDA", "Lr", "GINI", and "ENTROPY"
weight
weight flag in LDA, PDA and Lr index
r
r in Lr index
lambda
lambda in PDA index
opt.proj
flag to show the best projection in the plot
UserDefFtn
User defined index function
...
arguments to be passed to methods

References

Lee, EK., Cook, D., Klinke, S., and Lumley, T.(2005) Projection Pursuit for exploratory supervised classification, Journal of Computational and Graphical statistics, 14(4):831-846.

Examples

Run this code
data(iris)
Huber.plot(iris[,1:2],iris[,5],PPmethod="LDA")

Run the code above in your browser using DataLab