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.
__
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
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'))
3 matches
Mail list logo