~ubuntu-branches/ubuntu/breezy/lme4/breezy

« back to all changes in this revision

Viewing changes to man/Pixel.Rd

  • Committer: Bazaar Package Importer
  • Author(s): Douglas Bates
  • Date: 2005-05-20 09:30:11 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20050520093011-vp8clxugp8hbjejp
Tags: 0.95.8-1
* New upstream release
* Upstream release no longer requires r-cran-latticeextra. Closes: Bug#307497 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
\name{Pixel}
2
 
\alias{Pixel}
3
 
\non_function{}
4
 
\title{X-ray pixel intensities over time}
5
 
\description{
6
 
    The \code{Pixel} data frame has 102 rows and 4 columns of data on the
7
 
    pixel intensities of CT scans of dogs over time
8
 
}
9
 
\format{
10
 
    This data frame contains the following columns:
11
 
    \describe{
12
 
        \item{Dog}{
13
 
            a factor with levels \code{1} to \code{10} designating the dog
14
 
            on which the scan was made
15
 
        }
16
 
        \item{Side}{
17
 
            a factor with levels \code{L} and \code{R} designating the side
18
 
            of the dog being scanned
19
 
        }
20
 
        \item{day}{
21
 
            a numeric vector giving the day post injection of the contrast
22
 
            on which the scan was made
23
 
        }
24
 
        \item{pixel}{
25
 
            a numeric vector of pixel intensities
26
 
        }
27
 
    }
28
 
}
29
 
\source{
30
 
    Pinheiro, J. C. and Bates, D. M. (2000) \emph{Mixed-effects Models in
31
 
        S and S-PLUS}, Springer.
32
 
}
33
 
\examples{
34
 
data(Pixel)
35
 
\dontrun{
36
 
Pixel$DS = getGroups(Pixel, ~ 1 | Dog/Side, level = 2)
37
 
fm1 <- lme(pixel ~ day + I(day^2), data = Pixel,
38
 
           random = list(DS = ~ 1, Dog = ~ 1))
39
 
summary(fm1)
40
 
VarCorr(fm1)
41
 
}
42
 
}
43
 
\keyword{datasets}