Hi all,

 

I'm new to PCA in R, so this might be a basical thing, but I cannot find 
anything on the net about it.

I need to make a PCA plot with two response variables (df$resp1 and df$resp2) 
against eight metabolites (df$met1, df$met2, ...) and I don't have a clue how 
to do... and I've only used the simplest PCAs before, like this:

 

pcaObj=prcomp(t(df[idx, c(40:47)]))

biplot(pcaObj)

 

Anyone who knows how to do?

 

Best rageds,

 

Joel
                                          
_________________________________________________________________
Hitta hetaste singlarna på MSN Dejting!
http://dejting.se.msn.com/channel/index.aspx?trackingid=1002952
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to