Remove site that has no observations of any species
This function will remove site that has no observations in a site by species data frame.
rm_site_noobs(df, warn = FALSE)
df
: A data frame in wide form, i.e. site by species data frame, with site names as row name.warn
: Whether to warn when any site has no species? Default is FALSE
.A site by species data frame.
Daijiang Li
Useful links