powered by
PP optimization using PDA index
PDAopt(origclass,origdata,q=1,weight=TRUE,lambda=0.1,...)
class information vector of data
data matrix without class information
dimension of projection vector
weight flag in PDA index
lambda in PDA index
arguments to be passed to methods
indexbest maximum PDA index value
projbest optimal q-dimensional projection matrix
origclass original class information vector
origdata original data matrix without class information
Find the q-dimensional optimal projection using PDA projectin pursuit index
Lee, EK, Cook, D.(2010) A Projection Pursuit Index for Large p Small n Data, Statistics and Computing, 20:381-392.
# NOT RUN { data(iris) PDA.proj.result <- PDAopt(iris[,5],iris[,1:4],weight=TRUE,q=2,lambda=0.1) PDA.proj.result$indexbest PDA.proj.result$projbest # }
Run the code above in your browser using DataLab