Re: [R] How do you distinguish between characters on a pco plot?

2012-04-03 Thread leannehaggerty
I've read everything I can find, maybe I'm just missing something but I can't find an example which colours the points on a pco plot differently based on user specified parameters, I can colour every point differently or all the same, or randomly with a number of colours. What I need to do is spec

[R] How do you distinguish between characters on a pco plot?

2012-03-22 Thread leannehaggerty
I have a presence/absence matrix for which I create a distance matrix and then perform pco analysis on. /library(ecodist) table <- read.table("matrix.pa") dist <- dist(table, method = "euclidean", diag = FALSE, upper = FALSE) dist.pco <- pco(dist)/ When I plot the pco analysis of the distance ma