Description Usage Arguments Value See Also Examples
A wrapper around classIntervals
that
creates printable univariate class intervals from numeric values.
1 2 3 4 5 6 7 | indicator_categories(
values,
n = 5,
dataPrecision = 0,
style = "pretty",
print_style = "min-max"
)
|
values |
A numeric vector that may contain missing values. |
n |
Number o intervals, defaults to |
dataPrecision |
= Number of digits on labels, defaults to
|
style |
Style of interval reporting, defaults to |
print_style |
Style of printing the labels, defaults to
|
A character vector containing the category labels.
Other utility functions:
text_wrap()
1 2 3 4 | {
indicator_categories(1:7, n=2)
indicator_categories(c(1:6, NA), n=2, print_style = "interval")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.