Description Usage Arguments Examples
View source: R/fragment_count.R
Return a statment summarising the number of items in a set
1 | CreateCountFragment(x, units, fallback)
|
x |
A vector of integer values. |
units |
A vector of length 2 indicating the singular and plural of x's units (e.g., c("country","countries")). |
fallback |
The character string to return in case of error |
1 | CreateCountFragment(as.integer(c(1, 2, 3, NA)), units = c('letter', 'letters'), fallback = "an unknown number of")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.