Description Usage Arguments Value Examples
View source: R/iddplacebo.ecdf.R
iddplacebo.ecdf
takes an output object after iddplacebo
and plots the E.C.D.F. using ggplot2
.
1 | iddplacebo.ecdf(x, alpha = 0.05, convert = FALSE, mult = 100000, quantile = FALSE)
|
x |
Name of the |
alpha |
controls the shaded significance region on the plot. Defaults to 0.05. |
convert |
Convert x-axis to effect size? Defaults to FALSE. |
mult |
Multiplier for the effect size (only used with convert=TRUE). |
quantile |
Add reference line for the acceptance region? Defaults to FALSE. |
Returns a ggplot containing the E.C.D.F. of the post/pre-RMSE ratios from the placebo studies.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
data(simpanel)
placebo.out <- iddplacebo(eventvar="y",
popvar="pop",
idvar="age",
timevar="time",
postvar="post",
treatvar="treat",
data=simpanel,
iter=50)
plot.out <- iddplacebo.ecdf(placebo.out)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.