Obtain Numerical Statistics for a Continuous Variable by a Categorical Variable
num_by_cat_stats(df, num, cat)
Arguments
- df
An R data frame used for further analysis.
- num
Name of the numerical variable found in the data frame
- cat
Name of the categorical variable found in the data frame