count | R Documentation |
Count Characters in a Chars Object
count(x, value, ignore.case = FALSE)
x |
A vector of characters. |
value |
character (length 1) to count |
ignore.case |
should the letter case be ignored? |
integer, count of instances of value
in x
count(chars("strawberry"), 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.