Hi Mat,

You can more-or-less do what you want with the xlabs argument to
biplot. It only takes characters, rather than the normal plot symbol
codes, though. If you need symbols, you can "cheat" with things like
+ o x. I usually use letters for the different groups within the data:

> temp <- matrix(runif(50), nrow=10)
> temp.pca <- princomp(temp)
> biplot(temp.pca, xlabs=c("A", "A", "B", "B", "B", "C", "C", "C", "D", "D"))
>

Sarah

On 12/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Dear all
> I would like to replace labels for x in biplot() with symbols (points)
> that will visually illustrate different classes/groups.

-- 
Sarah Goslee
http://www.stringpage.com
http://www.functionaldiversity.org

______________________________________________
R-help@stat.math.ethz.ch 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