plot.tramME {tramME} | R Documentation |
Plot the conditional distribution evaluated at a grid of possible response values and a set of covariate and random effects values on a specified scale.
## S3 method for class 'tramME' plot(x, newdata = NULL, ranef = NULL, ...)
x |
A tramME object |
newdata |
an optional data frame of observations |
ranef |
Vector of random effects or the word "zero". See details. |
... |
Additional arguments, passed to |
When ranef
is equal to "zero", a vector of zeros with the right size is
substituted.
A numeric matrix of the predicted values invisibly
data("sleepstudy", package = "lme4") fit <- BoxCoxME(Reaction ~ Days + (Days | Subject), data = sleepstudy) plot(fit, K = 100, type = "density")