placebo.ciplot: Plot time-varying placebo-based confidence intervals.

Description Usage Arguments Value Examples

View source: R/placebo.ciplot.R

Description

placebo.ciplot takes the results from placeboci and plots the time-varying confidence intervals for the effect.

Usage

1
placebo.ciplot(object, mult = 1e+05)

Arguments

object

An R object obtained using placeboci.

mult

A multiplier for the rates, defaults to 100000.

Value

Returns a plot containing time-specific placebo-based confidence intervals.

Examples

 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)

carlbona/idd documentation built on June 12, 2018, 2:23 p.m.