Description Usage Arguments Value Author(s) See Also Examples
This function counts the occurences of a condition within a vector
1 |
vector |
The vector to count the occurences |
condition |
The condition to test the vector against It must be a function |
The count of ocurrences in vector
based on the condition
zekrom_vale
count_when
for using str_detect
to test a vector
count_if
for using conditions to test a vector
count_if
for counting using a dataframe or tibble, this has access to all columns
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.