;;Example of a ViDAL (ViSta Data Analysis Language) script file.
;;Load this file with the Load-Edit command.

;;Principal Components Example

;;This script does a principal components analysis of the crime data.


(when *guidemap* (send *guidemap* :close))  
(show-workmap)


(load-data (strcat *examples-data-dir-name* "crime.lsp"))
(summarize-data)
(principal-components)
(create-data)
(setcd scores-pca-crimerates)
(visualize-model) 
(report-model)
(vista-message "Principal Components Example Finished")