var_format | R Documentation |
Function that given a vector adjusts formats the datatype in cases that it makes sense.
var_format(vect, n)
vect |
vector of data |
n |
number of unique values under below which formating will apply |
formated vector
var_format(iris$Species, n = 6) var_format(mtcars$gear, n = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.