
James J. answered 03/19/19
Tutor
New to Wyzant
Software Engineer and Computer Science Tutor
You could do this using 'dplyr' in the following way
df %>% group_by(groupname) %>% summarise(count=n())
James J. answered 03/19/19
Software Engineer and Computer Science Tutor
You could do this using 'dplyr' in the following way
df %>% group_by(groupname) %>% summarise(count=n())
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.