The R Project SVN R-packages

Rev

Rev 1167 | Blame | Last modification | View Log | Download | RSS feed


R : Copyright 2005, The R Foundation for Statistical Computing
Version 2.1.0 alpha (2005-04-01), ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.

> library(MEMSS)
Loading required package: lme4
Loading required package: Matrix
Loading required package: lattice
Loading required package: latticeExtra

Attaching package: 'lme4'


    The following object(s) are masked from package:stats :

     contr.SAS 

> options(show.signif.stars = FALSE)
> lmer(pixel ~ day + I(day^2) + (1|DS) + (day|Dog), Pixel)
Linear mixed-effects model fit by REML
Formula: pixel ~ day + I(day^2) + (1 | DS) + (day | Dog) 
   Data: Pixel 
      AIC    BIC    logLik MLdeviance REMLdeviance
 841.2102 862.21 -412.6051   827.3298     825.2102
Random effects:
 Groups   Name        Variance Std.Dev. Corr   
 DS       (Intercept) 282.9893 16.8223         
 Dog      (Intercept) 804.8887 28.3706         
          day           3.3994  1.8437  -0.555 
 Residual              80.8155  8.9897         
# of obs: 102, groups: DS, 20; Dog, 10

Fixed effects:
               Estimate  Std. Error DF  t value  Pr(>|t|)
(Intercept) 1073.339130   10.171714 99 105.5220 < 2.2e-16
day            6.129596    0.879328 99   6.9708 3.559e-10
I(day^2)      -0.367350    0.033946 99 -10.8216 < 2.2e-16
> q("no")