I have a dataset called country_num that looks like this
Country num Other 5 Other 6 Other 16 USA 30 UK 25 China 12 I tried to use group_by to combine the three "Other" rows like this
country_num %>% group_by(Country) %>% count(num) But the three "Other" rows did not aggregate. Why is that and what can I do about it?
sumthenumvalues?country_num %>% group_by(Country) %>% summarise(num = sum(num))