View source: R/50-ordered_sequence-ops.R
| count_key | R Documentation |
Count Elements Matching One Key
count_key(x, key)
x |
An |
key |
Query key. |
Counts multiplicity for a single key. Returns 0L when the key is not
present.
Integer count of matches.
x <- ordered_sequence("a", "b", "c", keys = c(1, 2, 2))
count_key(x, 2)
count_key(x, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.