| plot.nparld_mctp | R Documentation |
Displays simultaneous confidence intervals for local contrasts from a multiple contrast test procedure. The plot shows the contrast estimates together with their simultaneous confidence limits and a vertical reference line at zero. Intervals excluding zero are highlighted by default.
## S3 method for class 'nparld_mctp'
plot(
x,
xlab = "Contrast effect",
ylab = "",
main = NULL,
ref.line = 0,
ref.lty = 2,
ref.col = "gray50",
pch = 19,
lwd = 2,
col = NULL,
...
)
x |
An object of class |
xlab |
Label for the x-axis. The default is |
ylab |
Label for the y-axis. The default is an empty label. |
main |
Optional plot title. |
ref.line |
Optional vertical reference line. The default is |
ref.lty |
Line type for the reference line. |
ref.col |
Colour of the reference line. |
pch |
Plotting character. |
lwd |
Line width. |
col |
Optional colors for confidence intervals and point estimates. If
|
... |
Further graphical arguments. |
Displays simultaneous confidence intervals for the local contrast results returned by the multiple contrast test procedure. The vertical reference line at zero indicates the null value for contrast effects.
data(shoulder)
fit <- nparLD(
resp ~ group1 * group2 * time,
data = shoulder,
subject = "subject",
hypothesis = "H0p",
contrast = list("time", "Dunnett")
)
plot(fit$MCTP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.