autoplot.summarize | R Documentation |
Graphical representation of the descriptive statistics.
## S3 method for class 'summarize'
autoplot(
object,
type = "mean",
variable = NULL,
size.text = 16,
linewidth = 1.25,
size = 3,
...
)
## S3 method for class 'summarize'
plot(x, ...)
object, x |
an object of class |
type |
[character] the summary statistic that should be displayed: |
variable |
[character] type outcome relative to which the summary statistic should be displayed.
Only relevant when multiple variables have been used on the left hand side of the formula when calling |
size.text |
[numeric, >0] size of the text in the legend, x- and y- labels. |
linewidth |
[numeric, >0] thickness of the line connecting the points. |
size |
[numeric, >0] width of the points. |
... |
additional arguments passed to .ggHeatmap when displaying the correlation:
|
A list with two elements
data
: data used to generate the plot.
plot
: ggplot object.
plot(summarize)
: Graphical Display of Missing Data Pattern
data(gastricbypassL, package = "LMMstar")
dtS <- summarize(weight ~ time, data = gastricbypassL)
plot(dtS)
dtS <- summarize(glucagonAUC + weight ~ time|id, data = gastricbypassL, na.rm = TRUE)
plot(dtS, variable = "glucagonAUC")
plot(dtS, variable = "glucagonAUC", type = "correlation", size.text = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.