Subjects specialized in class
1A Language
2A Mathematics
3B Language
4C Mathematics
5 C Mathematics
6C Language
7C Language
I'd like to show the number of people who are good at Korean by group from this chart.
A1
B1
C2
I would like to get answers like this.
How should I write it?
library(dplyr)
df%>%filter (Favorite subject == 'Korean')%>%
group_by%>%summarize(Count=n())
# # Atible: 2 x 3
# class count
# <fctr><int>
# 1 A 1
# 2B1
# 3C2
How about
© 2024 OneMinuteCode. All rights reserved.