Description Usage Arguments Details Value Author(s) See Also Examples
Draw a plot of simultaneous confidence intervals (SCIs) from multiple comparisons in a longitudinal setting using the ggplot2
framework.
1 |
output |
An object of class |
title |
An optional character string giving the plot title. By default, a standard headline ("95% SCIs") is printed. |
background |
A character string defining the background color for the plotting region. The default is "white" but may be changed to "gray"
for the familiar |
If output
is a list containing several objects of class silo
, this list must be named (e.g., list(name1=firstobject, name2=secondobject)
) so that an informative legend can be created according to the names.
If no headline is desired, simply enter title=NULL
.
A graphical display of SCIs.
Philip Pallmann pallmann@biostat.uni-hannover.de
SimLongi
, SimLongiMMM
, SimLongiMMM
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(heart)
# Many-to-one comparisons of groups per time point
# taking the third group ("control") as reference
mycomp <- SimLongi(data=heart, response="heartrate", group="drug",
time="time", id="person", direction="gpt",
type="Dunnett", base=3, df="adj")
PlotCI(mycomp)
mycompMMM <- SimLongiMMM(data=heart, response="heartrate", group="drug",
time="time", id="person", type="Dunnett", base=3,
refdist="t")
PlotCI(list(SL=mycomp, SL_MMM=mycompMMM))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.