Xyplot, Densityplot, and Pairs plot methods for a mixed-effects model profile.
xyplot()
draws “zeta diagrams”, also visualizing
confidence intervals and their asymmetry.
densityplot()
draws the profile densities.
splom()
draws profile pairs plots. Contours are for the
marginal two-dimensional regions (i.e. using df = 2).
# S3 method for thpr
xyplot(x, data = NULL,
levels = sqrt(qchisq(pmax.int(0, pmin.int(1, conf)), df = 1)),
conf = c(50, 80, 90, 95, 99)/100,
absVal = FALSE, scales=NULL,
which = 1:nptot, ...)# S3 method for thpr
densityplot(x, data, npts = 201, upper = 0.999, ...)
# S3 method for thpr
splom(x, data,
levels = sqrt(qchisq(pmax.int(0, pmin.int(1, conf)), 2)),
conf = c(50, 80, 90, 95, 99)/100, which = 1:nptot,
draw.lower = TRUE, draw.upper = TRUE, ...)
a density plot, a "trellis"
object (lattice package)
which when print()
ed produces plots on the current
graphic device.
a density plot, a "trellis"
object, see above.
a pairs plot, aka scatterplot
matrix, a "trellis"
object, see above.
a mixed-effects profile, i.e., of class "thpr"
,
typically resulting from profile(fm)
where fm
is a fitted model from lmer
(or its generalizations).
unused - only for compatibility with generic.
the number of points to use for the densityplot()
.
a number in \((0,1)\) to specify upper (and lower)
boundaries as +/- qnorm(upper)
.
the contour levels to be shown; usually
derived from conf
.
numeric vector of confidence levels to be shown as contours.
logical indicating if abs(.)
olute values
should be plotted, often preferred for confidence interval
visualization.
plotting options to be passed to xyplot
integer or character vector indicating which parameters
to profile: default is all parameters (see
profile-methods
for details).
(logical) draw lower-triangle (zeta scale) panels?
(logical) draw upper-triangle (standard dev/cor scale) panels?
further arguments passed to xyplot
,
densityplot
, or splom
from package
lattice, respectively.
profile
, notably for an
example.
## see example("profile.merMod")
Run the code above in your browser using DataLab