Learn R Programming

PPtreeViz (version 1.3.0)

PDAindex: PDA PPindex

Description

PDA projection pursuit index

Usage

PDAindex(origclass,origdata,proj,weight=TRUE,lambda=0.1)

Arguments

origclass
class information vector
origdata
data matrix without class information
proj
projection matrix
weight
weight flag in PDA
lambda
lambda in PDA index

Details

Calculate PDA projection pursuit index value

References

Lee, EK., Cook, D.(2010) A projection pursuit index for large p small n data, Statistics and Computing, 20:381-392.

Examples

Run this code
data(iris)
PDAindex(iris[,5],as.matrix(iris[,1:4]),lambda=0.2)

Run the code above in your browser using DataLab