Description Usage Arguments Details Side Effects See Also Examples
This report uses a data format in which records exist
only for events, and these events are classified as
major
and minor
events. Typically
major
refers to organ system and minor
to
preferred term. As only events are signaled in the data,
the denominator (number of subjects at risk and having
some likelihood of having had adverse events collected
had they occured) for each treatment must be specified.
Produces an open meeting table not stratified by
treatment
(for open report) and one stratified by
treatment
(for closed report) in the gentex
directory.
1 2 3 4 5 6 7 8 9 10 11 | aeReport2(major, minor = rep("", length(major)), treat,
id, denom, panel = "ae",
caption = "Summary of adverse events by system organ class and preferred term",
ncaption = "",
descending = c("both", "major", "minor", "none"),
sortby = c("incidence", "% difference"),
headerStr = "AE", minpct = c(0, 0), mindif = c(0, 0),
size = NULL, longtable = FALSE, lines.page = 50,
landscape = FALSE, maxcol = NULL, append = FALSE,
ref.label = NULL, minfreq = 7, major.filter = TRUE,
minor.filter = FALSE, appendix = TRUE)
|
major |
factor or character vector specifying the major classification of events, usually organ system |
minor |
factor or character vector specifying the
minor classification, usually an individual event given
by the preferred term. If |
treat |
discrete treatment variable |
id |
subject ID, used to determine when multiple events arise from the same subject |
denom |
a vector giving the number of subjects on each treatment (in order of treatment levels), i.e., number of subjects at risk |
panel |
base name for |
caption |
text string containing the table caption.
Other information is automatically appended to this,
especially related to |
ncaption |
NEEDDOC |
descending |
By default, |
sortby |
Specify |
headerStr |
NEEDDOC |
minpct |
a 2-vector specifying the minimum percents
for which to output results for |
mindif |
a 2-vector specifying the minimum
difference in percent per-subject incidence between
treatments, corresponding to |
size |
see |
longtable |
see |
lines.page |
see |
landscape |
passed to |
maxcol |
the maximum number of columns to allow for
a |
append |
set to |
ref.label |
NEEDDOC |
minfreq |
NEEDDOC |
major.filter |
NEEDDOC |
minor.filter |
NEEDDOC |
appendix |
NEEDDOC |
Values of minor
are not assumed to be unique
across values of major
.
creates or appends to files "gentex/Ox.tex"
and
"gentex/x.tex"
under the current working
directory, where x
is the value of panel
.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
major <- c('A', 'A', 'A', 'B', 'B', 'C')
minor <- c('a1','a1','a2','b1','b2','c1')
id <- c(1, 1, 1, 1, 2, 3)
treat <- c('drug','placebo','drug','placebo','drug','placebo')
aeReport2(major, minor, treat, id, denom=c(placebo=10,drug=10))
aeReport2(major, minor, treat, id, denom=c(placebo=10,drug=10),
sortby='% difference')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.