Description Usage Format See Also Examples
For 16 species, the number of individuals of that species observed during each survey with zero counts removed from the data set. To include zeros, see the examples below.
1 |
A data.frame with 3 variables: survey
, abbrev
,
count
1 2 3 4 5 6 7 | library(dplyr)
library(tidyr)
with_zeros <- avian_common_count %>%
right_join(avian_surveys[,"survey"], by="survey") %>% # include surveys with no observations
complete(survey, abbrev, fill = list(count=0)) %>% # fill all missing survey-abbrev combinations with zero counts
right_join(avian_surveys, by="survey") # include survey date and watershed info
head(with_zeros)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.