The favstats() function will compute a set of common summary statistics ("favorite stats") for a given variable, including the five-number summary (minimum, Q1, median/Q2, Q3, maximum), the mean, the standard deviation, the sample size (n), and the number of missing cases.

Example 1:
# Compute the favstats() for Thumb
favstats(~Thumb, data = Fingers)
Example output:

Example 2:
# Compute the favstats() for Thumb by Sex
favstats(Thumb ~ Sex, data = Fingers)
Example output: