Learn R Programming

PPtreeViz (version 1.0.3)

PDAindex: PDA PP index

Description

Calculate PDA projection pursuit index value

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

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