[R] Multcomp, means and mixed models

2009-07-22 Thread Metconnection
Hi all, I wonder if anyone can help. I'm trying to calculate the means from a mixed model analysis using Multcomp My code is glht(lme(response~treatment, random=~1|patient, data=statdata, na.action = (na.omit)), linfct=mcp(treatment=Means)) It appears that the Means option is not valid for

[R] lme gives different results to SAS Proc Mixed

2009-06-25 Thread Metconnection
http://www.nabble.com/file/p24211204/repeated.csv repeated.csv Dear all, I'm currently trying to replicate some Proc Mixed results using lme() and have a curious result I can't explain. The dataset is a repeated measures example where patients (each on one of several treatments) are measured

[R] Problem with bargraph.CI in Sciplot package

2009-04-10 Thread Metconnection
Hi there, I wonder if anyone can help me. I'm trying to use bargraph.CI in the Sciplot package when there is a missing combination of the factor levels. Unfortunately the standard errors on the plot do not appear to be correct. Consider an analysis consisting of two factors A and B. When all

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