Labels for Column Variables in Binary Response by Subgroup Table
Source:R/response_subgroups.R
      d_rsp_subgroups_colvars.RdInternal function to check variables included in tabulate_rsp_subgroups and create column labels.
Arguments
- vars
 (
character)
the name of statistics to be reported amongn(total number of observations per group),n_rsp(number of responders per group),prop(proportion of responders),n_tot(total number of observations),or(odds ratio),ci(confidence interval of odds ratio) andpval(p value of the effect). Note, the statisticsn_tot,orandciare required.- conf_level
 (
proportion)
confidence level of the interval.- method
 (
string)
specifies the test used to calculate the p-value for the difference between two proportions. For options, sees_test_proportion_diff(). Default isNULLso no test is performed.