This is a follow-up to Bee Trait Aggregation and Bee Table Merge.
Import the sites
table from the BeeLab database into a data.frame. You
should already have bee_traits
and specimens
in your R environment.
Use dplyr
to perform the following
bee_traits
, make a table showing the
number of species in each genus by Lecticity (the columns will be
something like genus
, Lecticity
, count_sp
).