Learn R Programming

PPtreeViz (version 1.0.3)

Lrindex: Lr PP index

Description

Calculate Lr projection pursuit index value

Usage

Lrindex(origclass,origdata,proj,weight=TRUE,r=1)

Arguments

origclass
class information vector
origdata
data matrix without class information
proj
projection matrix
weight
weight flag in Lr index
r
r in Lr index

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)
Lrindex(iris[,5],as.matrix(iris[,1:4]),r=1)

Run the code above in your browser using DataLab