Message-ID: <C4B31A563E76414AB7415F6C3CA8FAF2F85E6C4923@CRIUS.ttu.edu>
Date: 2010-09-24T21:57:21Z
From: Chen, Xi
Subject: How to change the lengend in a DA figure
Dear all:
I have encountered a problem recently:
I used to plot figure, and using code
"main="......", xlab=".....",ylab="....."
to change the legend. But recently I was using R to perform Discriminant Function analysis, and I want to change the group names also add a title to the figure, but I am not sure how to make it work, could you please help me with my problem?
My code is:
library(MASS)
da.anti<-lda(type~ct+rd+ht+ndf+adf+hc+ls+cs)
da.anti
par(family="serif")
plot(da.anti)
I appreciate your help. Thank you.
Xi Chen
Graduate Teaching Scholar
Biological Science Department
Texas Tech University
2500 Broadway, Lubbock TX 79410
Phone: 806-319-1513