View source: R/vc_categories.R
vc_categories | R Documentation |
Validates If Correct Categories Used
vc_categories(data, x, levels = "the levels", ...)
data |
A data frame. |
x |
Column name from |
levels |
Levels of the category. |
... |
ignored. |
Returns a vc
classed list object.
vc_categories(mtcars, 'cyl', c(6, 8)) str(vc_categories(mtcars, 'cyl', c(6, 8)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.