On this string "apple", I want to execute a test to see which character has the most occurring in the string, which is "p".
I have used the str_extract_all("apple"), and turn the list into a tibble, use group_by() and summarise() to return the most occurring character.
I would like to ask if there's an easier way to do this task?