ol_unique | R Documentation |
Print the top n unique values and frequencies of an atomic variable
ol_unique(
x,
max_show = 5,
max_allowed = 25,
prespace = 0,
showNA = "ifany",
newline = TRUE
)
x |
the variable to tabulate |
max_show |
the maximum number of unique values to show |
max_allowed |
the maximum number of allowed unique values before the function summarizes as mean, min, max |
prespace |
An integer indicating the number of spaces to include at the beginning of the string. Default: 0 |
showNA |
whether to print information about NAs. As with |
newline |
if TRUE, include a newline character |
a formatted character string with frequencies for the top max_show
categories
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.