[R] getResponse(model.lme) yields incorrect number of dimensions error

2009-01-04 Thread Ullrich Ecker
r of Observations: 630 Number of Groups: 105 > class(mlr2) [1] "summary.lme" "lme" > cor(fitted(mlr2), getResponse(mlr2))^2 Error in val[, level] : incorrect number of dimensions Dr Ullrich Ecker | Postdoctoral Research Fellow | Cognitive Science Laboratories

Re: [R] Tukey HSD (or other post hoc tests) following repeated measures ANOVA

2008-05-30 Thread Ullrich Ecker
## for lme() >require(multcomp) ## for multiple comparison stuff > >Aov.mod <- aov(Y ~ N + V + Error(B/V), data = oats) >Lme.mod <- lme(Y ~ N + V, random = ~1 | B/V, data = oats) > >summary(Aov.mod) >anova(Lme.mod) > >summary(Lme.mod) >summary(glht(Lme.mod, linf

Re: [R] Tukey HSD (or other post hoc tests) following repeated measures ANOVA

2008-05-29 Thread Ullrich Ecker
r an aov object. And I don't know if confidence intervals are "certainly much better than p-values". What I do know is that most journals of psychology (and medicine, neuroscience, ...for that matter) usually require p-values be reported. Still hope someone can help... Ull

[R] Tukey HSD (or other post hoc tests) following repeated measures ANOVA

2008-05-28 Thread Ullrich Ecker
v, focus = "Cond", focus.lmat = Cond.lmat) yielding Error in mvt(lower = carg$lower, upper = carg$upper, df = df, corr = carg$corr, : NA/NaN/Inf in foreign function call (arg 6) In addition: Warning message: In cov2cor(covm) : diagonal has non-finite entries > Tukey