[R] Changing tick mark labels
Mark Harris
m.harris at botany.uq.edu.au
Thu Apr 18 02:51:25 CEST 2002
Hello,
Can anyone help me out with this problem?
After performing logistic regressions and testing the significance with
likelihood ratios, I have plotted the results using "termplot". I am
wondering, how to get the names of my variables to appear on the x-axis
rather than ascending numbers?
I have used:
termplot(fm, se=T, axes=FALSE, col.se="black")
axis(1, 1:4, LETTERS[1:4])
axis(2)
box()
to replace the numbers with letters - but I want to be able to have the
names of the plotted varibles from say Data$Expt1, so that instead of A,
B, C - I have Control, Subs1, Subs2 etc
Can anyone tell me how I can do this?
Thankyou for your time and assistance, I appreciate it highly.
Mark Harris
--
Mark Harris
School of Life Sciences
University of Queensland, Brisbane Australia
Ph: (07) 3365 7237
International: 0061 7 3365 7237
Mobile: 0407203678
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list