so I'm trying to find the total amount of each class in the Genus column, the following dataframe is shown below:
But it returns values of how many times each Genus is repeating, not it's total amount of the species observed.
I want a dataframe that looks like this:
Genus - Arachnida Total Sum - (Total amount of Arachnida)
Thank you for whoever replies! (This is my first post, English is my second language so hopefully someone understands!)
I've tried using dplyr's function of count like:
BIO205 %>% count(Genus)
But it returns values of how many times each Genus is repeating, not it's total.
Like if I did BIO205 %>% count(Genus), it would return with
This is indicating that the word Arachnida is repeating 21 times.