This function creates a score plot with a 95
1  | ciscoreplot(x, comps, namevec)
 | 
x | 
 An output from PCA.  | 
comps | 
 A vector that tells which components of PCA should be graphed, usually c(1,2) or c(1,3).  | 
namevec | 
 A vector with ID variables for the points; you can use this to identify outliers.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.