[R] coefficient graph

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Mar 19 17:14:19 CET 2009


Please read the posting guide.
1. We do not have the data and hence cannot reproduce.
2. Is this the most recent version of R and the packages that you are using?

Uwe Ligges




Sachi Ito wrote:
> Dear R list members,
> 
> I'd like to make a graph of coefficients of the intercept, variable 1, and
> variable 2 (and possibly the interaction between variable 1 and variable
> 2).  When I use the lmList function as attached below, it shows a nice
> coefficient graph.
> 
>> PACRP.lis <- lmList(PAffect ~ CRPC + CRPT + CINT | ID, redinteract)
>> coef(PACRP.lis)
>> PACRPlis.coef <- coef(PACRP.lis)
>> plot(PACRPlis.coef)
> 
> 
> 
> However, when I'd like to make a graph using the lmer function, it shows the
> error message below.
> 
>> PACRP <- lmer(PAffect ~ CRPC + CRPT + CINT + (1 + CRPC + CRPT + CINT |ID),
> redinteract)
>> coef(PACRP)
>> PACRP.coef <- coef(PACRP)
>> plot(PACRP.coef)
> *Error in eval(expr, envir, enclos) : object ".grp" not found
> *
> 
> Does it mean that I cannot make a graph using the lmer function?  Or, do I
> need to install another package?  I'd greatly appreciate if someone could
> give me suggestions.
> 
> 
> Thank you so much for your help in advance,
> Sachi
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list