Skip to content
Back to formatted view

Raw Message

Message-ID: <A4E5A0B016B8CB41A485FC629B633CED4ACB8A65E8@GOLD.corp.lgc-group.com>
Date: 2013-07-10T16:49:42Z
From: S Ellison
Subject: PCA and gglot2
In-Reply-To: <B539FAE48D0.00001165jrkrideau@inbox.com>

> > The biplot present the data points as numbers. How can I 
> present the 
> > data point in color (depends on their group-column 5). I 
> was thinking 
> > about doing it using ggplot2 but I can not succeed. Any 
> idea how to do 
> > it?

Perhaps the post at
http://www.codesofmylife.com/2012/06/07/plotting-pca-results-with-ggplot2/

would help?
 
(as would googling "biplot in ggplot2", which is how I found it...)

Incidentally, if you want base graphics biplots with points and colour coding, you'd need to modify the biplot code a bit or roll your own. 

S Ellison


*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}