Description Usage Arguments Details Value Author(s)
Draw a prevalence table with raw data combining with summarized data, in
addition with table controlling parameters. The parameter pool data frames
are yielded using setRptParam()
.
1 2 3 4 5 |
data |
Raw dataset |
imput |
Summarized data set |
riskvar |
The risk variable |
xvar |
Variable name of x in raw data set. |
yvar |
Variable name of y in raw data set. |
xvar.imput |
Variable name of x in summarized data set. |
yvar.imput |
Variable name of y in summarized data set. |
tblRisk |
Data frame of risk pool. |
tblBU |
Data frame of BU pool. |
tblGender |
Data frame of gender pool. |
tblCity |
Data frame of city pool. |
digits |
Number of digits in results. |
lang |
Language, 'cn' or 'en'. |
row_levels |
A vector re-defining the factor level of the variable to be put as the raw. Default null. If 'asis', keep the original order; if 'NULL', reorder the columns; if a specific vector, sort columns by that order. |
col.levels |
A vector re-defining the factor level of the variable to be put as the column. Default null. |
sort |
Sorting standard. If |
na.string |
A named vector |
... |
ignore |
It is more universal than tabEpiPrev()
.
A data frame restructured based on you requirements.
Yiying Wang, wangy@aetna.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.