Appends a dataframe with a new column to identify rows that contain zeros. This is then represented as a factor with the levels: "no" and "yes" so that both levels are observed for plotting purposes
1 | check_zero_tally(x, column)
|
x |
a dataframe |
column |
the column name with tally counts (tidyeval) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.