caDescribeOpts {Greg} | R Documentation |
A function for gathering all the description options
Description
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.
Usage
caDescribeOpts(
show_tot_perc = FALSE,
numb_first = TRUE,
continuous_fn = describeMean,
prop_fn = describeFactors,
factor_fn = describeFactors,
digits = 1,
colnames = c("Total", "Event")
)
Arguments
show_tot_perc |
Show percentages for the total column |
numb_first |
Whether to show the number before the percentages |
continuous_fn |
Stat function used for the descriptive statistics,
defaults to |
prop_fn |
Stat function used for the descriptive statistics,
defaults to |
factor_fn |
Stat function used for the descriptive statistics,
defaults to |
digits |
Number of digits to use in the descriptive columns. Defaults to the general digits if not specified. |
colnames |
The names of the two descriptive columns. By default Total and Event. |
Value
list
Returns a list with all the options