Graphical representation of the profile likelihood from a linear mixed model
# S3 method for profile_lmm
autoplot(
object,
type = "logLik",
quadratic = TRUE,
ci = FALSE,
size = c(3, 2, 1, 1),
linetype = c("dashed", "dashed", "dashed"),
shape = 19,
scales = "free",
nrow = NULL,
ncol = NULL,
...
)# S3 method for profile_lmm
plot(x, ...)
A list with three elements
data.fit
: data containing the quadratice approximation of the log-likelihood
data.ci
: data containing the confidence intervals.
plot
: ggplot object.
an object of class profile_lmm
, output of the profile.lmm
function.
[character] Should the log-likelihood ("logLik"
) or the ratio to the maximum likelihood ("ratio"
) be displayed?
[logical] Should a quadratic approximation of the likelihood be displayed?
[logical] Should a 95% confidence intervals obtained from the Wald test (vertical lines) and Likelihood ratio test (horizontal line) be displayed?
[numeric vector of length 4] Size of the point for the MLE, width of the line representing the likelihood, width of the corresponding quadratic approximation, and width of the line representing the confidence intervals.
[integer vector of length 2] type of line used to represent the quadratic approximation of the likelihood and the confidence intervals.
[integer, >0] type of point used to represent the MLE.
argument passed to ggplot2::facet_wrap
.
Not used. For compatibility with the generic method.
plot(profile_lmm)
: Display Contour of the log-Likelihood