Description Usage Arguments Examples
View source: R/species_counts.R
Uses one of the outputs from get_observed_nights() to calculate totals for number of species present at a GRTS cell or a site ID and then returns a dataframe.
1 | get_species_counts_wide(nightly_df)
|
nightly_df |
Dataframe acoustic bulk dataframe from output of get_observed_nights(). Note: must run seperately for MANUAL and AUTOMATIC nights dataframes. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
# MANUAL
manual_species_totals_w_ = get_species_counts_wide(manual_nights_df_)
# --- totals at sites
manual_species_sites_df_w_ = manual_species_totals_w_$species_site_id_df
# --- totals at GRTS cell id
manual_species_grts_df_w_ = manual_species_totals_w_$species_grts_df
# AUTOMATIC
auto_species_totals_w_ = get_species_counts_wide(auto_nights_df_)
# --- totals at sites
auto_species_sites_df_w_ = auto_species_totals_w_$species_site_id_df
# --- totals at GRTS cell id
auto_species_grts_df_w_ = auto_species_totals_w_$species_grts_df
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.