Re: [R] How to display y-axis labels in Multcomp plot

2008-12-09 Thread Metconnection
Thanks Kingsford... that does the trick perfectly! Simon -- View this message in context: http://www.nabble.com/How-to-display-y-axis-labels-in-Multcomp-plot-tp20904977p20919920.html Sent from the R help mailing list archive at Nabble.com. __

[R] How to display y-axis labels in Multcomp plot

2008-12-08 Thread Metconnection
Dear R-users, I'm currently using the multcomp package to produce plots of means with 95% confidence intervals i.e. mult-glht(lm(response~treatment, data=statdata), linfct=mcp(treatment=Means)) plot(confint(mult,calpha = sig)) Unfortunately the y-axis on the plot appears to be fixed and hence

Re: [R] How to display y-axis labels in Multcomp plot

2008-12-08 Thread Kingsford Jones
See ?par and note the 'mar' parameter Here's an example: library(multcomp) labs - c('short', 'medium', 'long') treatment - gl(3, 10, labels = labs) response - rnorm(30, mean=as.numeric(treatment)) mult - glht(lm(response ~ treatment), linfct=mcp(treatment='Means'))