Skip to contents

[Stable]

Internal function to check variables included in tabulate_rsp_subgroups and create column labels.

Usage

d_rsp_subgroups_colvars(vars, conf_level = NULL, method = NULL)

Arguments

vars

(character)
the name of statistics to be reported among n (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) and pval (p value of the effect). Note, the statistics n_tot, or and ci are 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, see s_test_proportion_diff(). Default is NULL so no test is performed.

Value

list of variables to tabulate and their labels.