sum_prod | R Documentation |
Useful function inside a summarize() to multiply columns together especially if some are booleans. This way we can summarize in a single command with different "pseudo-filters"
sum_prod(..., na.rm = TRUE)
... |
a list of vectors |
na.rm |
Remove NA during the summation. Default to TRUE |
a single value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.