[R] Extract t-statistics from "mer" object

Ben Bolker bbolker at gmail.com
Mon May 20 17:20:38 CEST 2013


arun <smartpink111 <at> yahoo.com> writes:

> 
> Hi,
> 
> Check this link
> https://stat.ethz.ch/pipermail/r-help/2008-May/163274.html
> A.K.
> 
> >i have a mer object named "model" : 
> ><S4 object of class structure("mer", package = "lme4")>
> >I want to extract  t statistics of the coeeficients from "model". 
> >Please help me out.... 
> >
> >package used lme4
> 

  You should also be able to use coef(summary(model)) to get
a numeric matrix representing the coefficient table, and

coef(summary(model))[,"t value"]

to get the t statistics.

Questions relating to nlme/lme4/glmmADMB/MCMCglmm/etc. are
best asked on the r-sig-mixed-models at r-project.org list ...



More information about the R-help mailing list