[R-sig-ME] [R] understanding I() in lmer formula

peter dalgaard pdalgd at gmail.com
Tue Jun 13 22:15:12 CEST 2017


Not that I really have a clue, but what is that "~" doing in the error message??

-pd

> On 13 Jun 2017, at 21:20 , Don Cohen <don-r-help at isis.cs3-inc.com> wrote:
> 
> Bert Gunter suggested posting this here:
> 
> Is there a difference between I(x*y) and I(y*x) ?
> I have a call to lmer that results in this complaint:
>  Error in is.alpha2.subordinate * ~z.min.co.res :
>  non-numeric argument to binary operator
> when I change this line:
>  I(is.alpha2.subordinate*z.min.co.res)+
> to this:
>  I(z.min.co.res*is.alpha2.subordinate)+
> the complaint goes away.
> I'd like to understand why.
> 
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-sig-mixed-models mailing list