Re: [R] Plotting log transformed predicted values from lme

2017-08-12 Thread Paul Johnson
In the rockchalk package, I have a function called newdata that will help with this. Plenty of examples. Probably my predictOmatic function will just work. Motivation is in the vignette. Paul Johnson University of Kansas On Aug 9, 2017 11:23 AM, "Alina Vodonos Zilberg" wrote: > Hi, > > I am per

Re: [R] Plotting log transformed predicted values from lme

2017-08-10 Thread Michael Dewey
On 10/08/2017 13:48, Alina Vodonos Zilberg wrote: Thank you Michael, Curves for each level of the factor sounds very interesting, Do you have a suggestion how to plot them? Make your newdata matrix N times longer where your factor has N levels and replicate your log(x) down one column and

Re: [R] Plotting log transformed predicted values from lme

2017-08-10 Thread Alina Vodonos Zilberg
Thank you Michael, Curves for each level of the factor sounds very interesting, Do you have a suggestion how to plot them? Thank you! Alina *Alina Vodonos Zilberg* On Thu, Aug 10, 2017 at 7:39 AM, Michael Dewey wrote: > Dear Alina > > If I understand you correctly you cannot just have a si

Re: [R] Plotting log transformed predicted values from lme

2017-08-10 Thread Michael Dewey
Dear Alina If I understand you correctly you cannot just have a single predicted curve but one for each level of your factor. On 09/08/2017 16:24, Alina Vodonos Zilberg wrote: Hi, I am performing meta-regression using linear mixed-effect model with the lme() function that has two fixed effe

[R] Plotting log transformed predicted values from lme

2017-08-09 Thread Alina Vodonos Zilberg
Hi, I am performing meta-regression using linear mixed-effect model with the lme() function that has two fixed effect variables;one as a log transformed variable (x) and one as factor (y) variable, and two nested random intercept terms. I want to save the predicted values from that model and sh