Hi:
I have a df containing species densities (ind/m²) per Campaign and Location. I'd like to sum all the specie's abundances into a new column.
My dataframe is something like this:
Campaign Location Apogon.imberbis Aetomylaeus.bovinus Antennatus.nummifer Ariosoma.balearicum
<fct> <fct> <dbl> <dbl> <dbl> <dbl>
1 Summer 2016 Porto Santo 1 0.01 0.03 0 0
2 Summer 2016 Porto Santo 2 0.03 0 0.04 0.001
3 Autumn 2016 Porto Santo 1 0.02 0 0 0
4 Autumn 2016 Porto Santo 2 0.02 0 0.01 0
5 Summer 2017 Porto Santo 1 0 0.01 0 0.02
6 Summer 2017 Porto Santo 2 0 0 0.03 0
Any ideas?
Thanks in advance.
Pedro