Description Usage Arguments Value Examples
View source: R/placebo.pplot.R
placebo.pplot
takes the results from placeboci
and plots the time-varying p-values.
1 | placebo.pplot(object, alpha = 0.05)
|
object |
An R object obtained using |
alpha |
Alpha value for the significance region on the plot, defaults to 0.05. |
Returns a plot containing time-specific placebo-based confidence intervals.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
data(simpanel)
placebo.out <- iddplacebo(eventvar="y",
popvar="pop",
idvar="age",
timevar="time",
postvar="post",
treatvar="treat",
data=simpanel,
iter=50)
ci.out <- placeboci(placebo.out, alpha=0.05)
placebo.pplot(ci.out)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.