- adam_db
(list of data.frames) object containing the ADaM datasets
- dataset
(string) the name of a table in the adam_db object.
- arm_var
(string) variable used for column splitting
- ref_group
(string) The name of the reference group, the value should
be identical to the values in arm_var, if not specified, it will by default
use the first level or value of arm_var.
- odds_ratio
(flag) should the odds ratio be calculated, default is TRUE
- perform_analysis
(string) option to display statistical comparisons using stratified analyses,
or unstratified analyses, or both, e.g. c("unstrat", "strat"). Only unstratified will be displayed by default
- strata
(string) stratification factors, e.g. strata = c("STRATA1", "STRATA2"), by default as NULL
- conf_level
(numeric) the level of confidence interval, default is 0.95.
- methods
(list) a named list, use a named list to control, for example:
methods = list(prop_conf_method = "wald", diff_conf_method = "wald", strat_diff_conf_method = "ha", diff_pval_method = "fisher", strat_diff_pval_method = "schouten")
prop_conf_method controls the methods of calculating proportion confidence interval,
diff_conf_method controls the methods of calculating unstratified difference confidence interval,
strat_diff_conf_method controls the methods of calculating stratified difference confidence interval,
diff_pval_method controls the methods of calculating unstratified p-value for odds ratio,
strat_diff_pval_method controls the methods of calculating stratified p-value for odds ratio,
see more details in tern
- ...
not used.
- tlg
(TableTree, Listing or ggplot) object typically produced by a main function.
- prune_0
(flag) remove 0 count rows