[R-sig-ME] x axis wrong with effects to plot an interaction based on lme4
Ben Bolker
bbolker at gmail.com
Sun Jan 15 20:21:32 CET 2017
I agree with Prof. Fox that we need a reproducible example, but I'm
guessing that you made one of your variables into a factor at some point
along the way.
On 17-01-15 01:54 PM, Fox, John wrote:
> Dear carole,
>
> Without a reproducible example (your data and the commands you used
> to produce the results that you mention) it's impossible to answer
> your question.
>
> Can you supply this information?
>
> John
>
> -------------------------------------- John Fox, Professor McMaster
> University Hamilton, Ontario, Canada Web: socserv.mcmaster.ca/jfox
>
>
>
>> -----Original Message----- From: R-sig-mixed-models
>> [mailto:r-sig-mixed-models-bounces at r- project.org] On Behalf Of
>> caroleperso Sent: Sunday, January 15, 2017 1:31 AM To:
>> r-sig-mixed-models at r-project.org Subject: [R-sig-ME] x axis wrong
>> with effects to plot an interaction based on lme4
>>
>> Hi I have the following results based on a glmer Analysis :
>>
>> Random effects: Groups Name Variance Std.Dev. N
>> (Intercept) 1.1885 1.0902 STIM (Intercept) 0.2347 0.4844
>> Number of obs: 650, groups: N, 65; STIM, 10
>>
>> Fixed effects: Estimate Std. Error z value Pr(>|z|) (Intercept)
>> 0.02678 0.22648 0.118 0.9059 GDSc - 0.45738
>> 0.15979 -2.862 0.0042 ** MMSEc 0.07461 0.04863 1.534
>> 0.1250 int 0.69647 0.13217 5.270 1.37e-07 ***
>> MMSEc:int 0.04365 0.02043 2.137 0.0326 *
>>
>> I have plot the interaction with the effect package
>>
>> plot(allEffects(fear), multiline=TRUE)
>>
>> however the x-axis is false limited to a max value of 2 while the
>> max value is 3.84. I have tried many things but that do not work at
>> all. I also find curious that the values are integer while all are
>> decimals. any help? many thanks carole
>>
>>
>>
>> [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-sig-mixed-models at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
More information about the R-sig-mixed-models
mailing list