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.
For more information on how the favstats() function computes the five-number summary, see this article:

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

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