powered by
Extract and display the correlation modeled via the linear mixed model.
# S3 method for partialCor autoplot( object, size.text = 16, limits = c(-1, 1.00001), low = "blue", mid = "white", high = "red", midpoint = 0, ... )# S3 method for partialCor plot(x, ...)
# S3 method for partialCor plot(x, ...)
A list with two elements
data: data used to create the graphical display.
data
plot: ggplot object.
plot
a partialCor object.
partialCor
[numeric, >0] size of the font used to display text.
[numeric vector of length 2] minimum and maximum value of the colorscale relative to the correlation.
[character] color for the the colorscale relative to the correlation.
[numeric] correlation value associated with the color defined by argument mid.
mid
Not used. For compatibility with the generic method.
plot(partialCor): Graphical Display For Partial Correlation
plot(partialCor)
if(require(ggplot2)){ data(gastricbypassL, package = "LMMstar") e.pCor <- partialCor(c(weight,glucagonAUC)~time, repetition = ~visit|id, data = gastricbypassL) plot(e.pCor) }
Run the code above in your browser using DataLab