Jiayang Sun, Jeremy Fleischer, Catherine Loader
The most recent version, Version 3, has all the features in previous versions.
|1d PP initial projections and a panel of choices||1d PP global options||1d PP investigations with local options||Local options menu|
|2d PP initial projections and a panel of choices||2d PP global options||2d PP investigations and other options||More investigations and local options|
Interactive Projection Pursuit (IPP) is a program that combines the best features of automatic and manual projection pursuit. The program can be installed as a library for S-Plus, which dynamically loads our C and Fortran algorithms*, for conducting both 1 and 2 dimensional PP; it also provides their (1-d and 2-d) P-values. In addition, they can be used for finding bumps, modes, and clusters in high dimensional data, as well as be linked to locfit. We have tested the program in Splus5 and Splus6 in Linux and Splus3.4 in sunos and SGI. (I do not have Splus6 in Sunos, Splus5 in Sunos is not compatible with our current code.)
tar zxvf pp.tgzor
gunzip pp.tgz|tar xvfdepending on what version of "tar" application you have. You'll see install.S6 among many other files. Read install.S6. Basically, to compile in Linux (to use with Splus5 or Splus6), for example, in the pp directory (if it is your own directory, type "Splus CHAPTER" to make it into a S-chapter first, and then) type
./install.S6If you do not have cc or f77, edit install.S6 to allow for gcc and g77.
To compile in Sunos (to use with Splus3.4), for example, in the pp directory, type
./install.S3If you do not have f77, change the following lines in install.S3
cc -c ppind.c f77 -c phi.f f77 -c pp2d.fto
gcc -c ppind.c #f77 -c phi.f #f77 -c pp2d.fand save the following compiled binary objective code into your directory: phi.o and pp2d.o and then run the edited installation script install.S3.
Splus #or Splus6 or whatever points to your Splus5 or 6 library(locfit,first=T) #Optional step - if you have and want to use #locfit functions inside ipp - it allows #locfit density estimates of projected #data along interesting projections library(pp) #use library(pp,lib.loc="where.you.put.it") if #pp() is NOT installed globally (ie in the $SHOME) pp(x) #It runs 1 and 2-d ippi on your data matrix "x", pp(sun1) #It runs one of our exemplar data called "sun1"
Splus library(pp) #use library(pp,lib.loc="whereyouputit") alternatively motif() #no need for this in Splus5 or Splus6 ppa(x) #It runs 1 and 2-d ippi on your data matrix "x" ppa(sun1) #It runs one of our exemplar data called "sun1"