summary
1 2 3 4 5 6 7 8 9 | displayFreq(dataframe, subjectVar, minorVar, majorVar,
occurrenceVar, stratVar, denomSub = NULL,
fileName = NULL, labelLen = 10, pvalue = 0.05,
keepPvalue = 0.5, minDisplayNum = 2, majorGrid = NULL,
minorGrid = NULL, plotGrid = TRUE, gridDig = 0,
titleOffsetKoef = 10, titleOffsetX = 0,
minorToMajorKoef = 5, sparseKoef = 1.5, graphWidth = 8,
graphHeight = 11, gridCex = 0.5, labelCex = 0.5,
titles = NULL)
|
dataframe |
data.frame. Data with adverse events. |
subjectVar |
character. Variable classified to major and minor category (subject ID). |
minorVar |
character. Name of minor category variable within dataset. (i.e. specific adverse event) |
majorVar |
character. Name of major category variable within dataset. (i.e. body system adverse event belongs to) |
occurrenceVar |
character. Name of occurrence
variable within dataset. It indicates the different
occurrences of a minor category for a given
|
stratVar |
character. Name of stratification variable within dataset. (i.e. treatment) |
denomSub |
numeric vector. Contains the number of
unique subjects in each |
fileName |
character. Name of output file, defaults to ‘NULL’. |
labelLen |
numeric. Maximum length of grid labels. |
pvalue |
numeric. If for a given major and minor
category, the proportion test gives a p-value less than
|
keepPvalue |
numeric. Only categories with a p-value
(according to the proportion test) less than
|
minDisplayNum |
numeric. Only categories with a
total frequency more than |
majorGrid |
numeric vector. Grid of major category. |
minorGrid |
numeric vector. Grid of minor category. |
plotGrid |
logical. Set to ‘TRUE’ to plot grid lines. |
gridDig |
numeric. Set the number of digits used to round the grid digits. |
titleOffsetKoef |
numeric. The vertical distance the title should stay from the graph. |
titleOffsetX |
numeric. The horizontal distance the title should stay from the graph. |
minorToMajorKoef |
numeric. The distance the bars for the minor category should be longer than the bars for the major category. |
sparseKoef |
numeric. How farther away the graphs
for different |
graphWidth |
numeric. Width of plot, the default is ‘8’. |
graphHeight |
numeric. Height of plot, the default is ‘11’. |
gridCex |
numeric. Relative size of the grid digits. |
labelCex |
numeric. Relative size of the labels. |
titles |
named character vector. Titles for each frequency display. It's names should be levels of treatment. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.