Re: [R] Problems using allEffects() (package effect)

2010-06-18 Thread Joris Meys
That's about the worst fit possible if you ask me :-) Check the fitted parameters, very likely indeed that there is your problem. You'll definitely have to reconsider your method. an lm is far from optimal on this dataset. Plus, you should use serie as a random or nesting factor. I'd suggest you lo

Re: [R] Problems using allEffects() (package effect)

2010-06-18 Thread Jonas Mandel
I have no error when fitting the model. The summary and anova seems to be fine : > summary(lm1) Call: lm(formula = Volume ~ temps + Traitement:temps + Série, data = data) Residuals: Min 1Q Median 3Q Max -34.3134 -14.9527 -0.9835 12.9174 49.5546 Coefficients:

Re: [R] Problems using allEffects() (package effect)

2010-06-18 Thread Joris Meys
Could you then at least give the summary of the lm? It's really impossible to tell where your problem is without any information about the fit. It's a strange error, I never had it in this context, and this kind of errors often indicate that what goes in is wrong. Your lm() object is not well forme

Re: [R] Problems using allEffects() (package effect)

2010-06-18 Thread Jonas Mandel
Hello, Sorry for the lack of clarity, I thought I was clear about the package : it's the function allEffects from the package effects. Here is my example again (unfortunately I can't give the data) : The data concerns effects of 3 treatments on the tumoral volume of mice. > head(data)

Re: [R] Problems using allEffects() (package effect)

2010-06-17 Thread Joris Meys
Please, read the posting guide: - provide a minimal example - tell us from which package the function is coming I guess you used the function allEffects() from the package effects, and did : eff.lm1 <- allEffect(lm1) Then I guess that there's something wrong with the variables you put into the mo

[R] Problems using allEffects() (package effect)

2010-06-17 Thread Jonas Mandel
Dear R users, I have some trouble using the allEffects() function to compute and display effect plots for a linear model. My data is quite simple, it concerns effects of 3 treatments on the tumoral volume of mice. vTum codes for the qualitative initial volume, from small to big, temps is the time