Description Usage Arguments Details Examples
Generate graphics and html with descriptive statistics
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | dReport(
formula,
groups = NULL,
what = c("hist", "ecdf", "proportions", "xy", "byx", "stacked"),
study = " ",
byx.type = c("hist", "quantiles"),
summaryPsort = FALSE,
exclude1 = TRUE,
fun = NULL,
data = NULL,
subset = NULL,
na.action = na.retain,
head = NULL,
tail = NULL,
continuous = 10,
h = NULL,
w = NULL,
sopts = NULL,
popts = NULL
)
|
formula |
a formula accepted by the |
groups |
a superpositioning variable, usually treatment, for categorical charts. For continuous analysis variables, |
what |
|
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 |
byx.type |
set to |
summaryPsort |
set to |
exclude1 |
logical used for |
fun |
a function that takes individual response variables (which may be matrices, as in |
data |
data frame |
subset |
a subsetting epression for the entire analysis |
na.action |
a NA handling function for data frames, default is |
head |
character string. Specifies initial text in the figure caption, otherwise a default is used |
tail |
optional character string. Specifies final text in the figure caption, e.g., what might have been put in a footnote in an ordinary text page. This appears just before any needles. |
continuous |
the minimum number of numeric values a variable must have in order to be considered continuous. Also passed to |
h |
numeric. Height of plot, in inches |
w |
numeric. Width of plot |
sopts |
list specifying extra arguments to pass to |
popts |
list specifying extra arguments to pass to a plot method. |
dReport
generates multi-panel charts, separately for categorical analysis variables and continuous ones. The Hmisc summaryP
function and its plot method are used for categorical variables, bpplotM
is used to make extended box plots for continuous ones unless what='byx'
, and propsPO
is used for stack bar charts showing relative proportons. Stratification is by treatment or other variables.
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.