Since there are so many different description options
for the printCrudeAndAdjustedModel()
function they
have been gathered into a list. This function is simply a
helper in order to generate a valid list.
caDescribeOpts(
show_tot_perc = FALSE,
numb_first = TRUE,
continuous_fn = describeMean,
prop_fn = describeFactors,
factor_fn = describeFactors,
digits = 1,
colnames = c("Total", "Event")
)
list
Returns a list with all the options
Show percentages for the total column
Whether to show the number before the percentages
Stat function used for the descriptive statistics,
defaults to describeMean()
Stat function used for the descriptive statistics,
defaults to describeFactors()
since there has to be a reference
in the current setup.
Stat function used for the descriptive statistics,
defaults to describeFactors()
Number of digits to use in the descriptive columns. Defaults to the general digits if not specified.
The names of the two descriptive columns. By default Total and Event.