Generating Summary Tables for levels of a categorical response.
briefSummary.RdThis function returns summaries of numerical and categorical predictors based on the levels of a categorical response variable.
Arguments
- x
a data.frame to be summarized
- response
a character string containing the name of the categorical response variable.
- maxsum
a numerical value (default 7) determining the number of summary details generated. For numerical predictors, this is passed to
summary(), and for categorical variables, this is the maximum number of levels shown in the output.