Description Usage Arguments Value Examples
View source: R/placebo.ciplot.R
placebo.ciplot
takes the results from placeboci
and plots the time-varying confidence intervals for the effect.
1 | placebo.ciplot(object, mult = 1e+05)
|
object |
An R object obtained using |
mult |
A multiplier for the rates, defaults to 100000. |
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.ciplot(ci.out)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.