Great. Thanks. Here is the new code:
xyplot(Y~X,groups = TRT,type=n)
text(x,y,labels=TRT)
--
View this message in context:
http://r.789695.n4.nabble.com/Plot-using-treatment-letter-as-points-tp3276743p3276808.html
Sent from the R help mailing list archive at Nabble.com.
xyplot(Y~X,groups = TRT,type=n) to plot the space but not the points,
then use the text function to display the characters.
Try ?text in R
--
View this message in context:
http://r.789695.n4.nabble.com/Plot-using-treatment-letter-as-points-tp3276743p3276775.html
Sent from the R help mailing
in ?plot it says that type =n displays everything but the actual points, so
that you can display the characters on top using the text function
--
View this message in context:
http://r.789695.n4.nabble.com/Plot-using-treatment-letter-as-points-tp3276743p3276804.html
Sent from the R help mailing
@r-project.org
Subject: Re: [R] Plot using treatment letter as points
Great. Thanks. Here is the new code:
xyplot(Y~X,groups = TRT,type=n)
text(x,y,labels=TRT)
--
View this message in context: http://r.789695.n4.nabble.com/Plot-using-
treatment-letter-as-points-tp3276743p3276808.html
4 matches
Mail list logo