Description Usage Arguments Details Author(s) Examples
Generates graphics for sequential exclusion criteria
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
formula |
a formula with only a right-hand side, possibly containing a term of the form |
data |
input data frame |
subset |
subsetting criteria |
na.action |
function for handling |
study |
character string identifying the study; used in multi-study reports or where distinct patient strata are analyzed separately. Used to fetch the study-specific metadata stored by |
ignoreExcl |
a formula with only a right-hand side, specifying the names of exclusion variable names that are to be ignored when counting exclusions (screen failures) |
ignoreRand |
a formula with only a right-hand side, specifying the names of exclusion variable names that are to be ignored when counting randomized subjects marked as exclusions |
plotExRemain |
set to |
autoother |
set to |
sort |
set to |
whenapp |
a named character vector (with names equal to names of variables in formula). For each variable that is only assessed (i.e., is not |
erdata |
a data frame that is subsetted on the combination of |
head |
character string. Specifies initial text in the figure caption, otherwise a default is used. |
tail |
a character string to add to end of automatic caption |
detailTail |
a character string to add to end of automatic caption for appendix table with listing of subject IDs |
details |
set to |
With input being a series of essentially binary variables with positive indicating that a subject is excluded for a specific reason, orders the reasons so that the first excludes the highest number of subjects, the second excludes the highest number of remaining subjects, and so on. If a randomization status variable is present, actually randomized (properly or not) subjects are excluded from counts of exclusions. First draws a single vertical axis graph showing cumulative exclusions, then creates a 2-panel dot chart with the first panel showing that information, along with the marginal frequencies of exclusions and the second showing the number of subjects remaining in the study after the sequential exclusions. A pop-up table is created showing those quantities plus fractions. There is an option to not sort by descending exclusion frequencies but instead to use the original variable order. Assumes that any factor variable exclusions that have only one level and that level indicates a positive finding, that variable has a denominator equal to the overall number of subjects.
An attribute dot chart is also drawn using the Hmisc package combplotp
function, showing frequencies of all combinations of exclusions that occurred in the data.
Frank Harrell
1 | # See test.Rnw in tests directory
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.