I am able to create a simple descriptive table using describe function. But it is not digging enough to show the statistic results within each variable. Like if my data set has gender, political party, education, etc. I want to see the statistic results for gender (male and female), for political party (republican, democrat, other), and for education (no education, hs, college, etc.). This information could help with understand the Mean and SD within each variable with more accuracy.
Can you provide with an example on how to accomplish this goal?