Description Usage Arguments Value Author(s) See Also
Draw an prevalence table with raw data combining with summarized data, in addition with table controlling parameters.
1 2 3 4 5 |
data |
Raw dataset |
imput |
Summarized data set |
rowvar |
The variable used as rows |
colvar |
The variable used as columns |
riskvar |
The risk variable |
neg |
Define which value represents negative. Default is 0. |
margins |
Refer to margins argument in |
lang |
language, "cn" or "en". |
cols |
A vector. Which elements are to be included. Default is
|
pct.digits |
Number of digits shown in percentages. If |
colvar.together |
Logical. |
empty.cols |
Logical. If TRUE, empty columns will be added in the table to separate columns sectors. |
na.string |
A named vector |
sort |
Sorting standard. If |
col.levels |
A vector re-defining the factor level of the variable to be put as the column. Default null. |
... |
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.