Learn R Programming

PPtreeViz (version 2.0.4)

Lrindex: Lr PPindex

Description

Lr projection pursuit index

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

Details

Calculate Lr projection pursuit index value

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

  
# }

Run the code above in your browser using DataLab