Convert classification ID to factor a specified level of classification
1 2 | cast_level(x, meta = attr(x, "classification"), level = length(meta),
label = TRUE)
|
x |
the vector to cast |
meta |
an oject of type |
level |
the level of the classificatio to which the variable should be cast. |
label |
return the labels of the categories. Otherwise return the codes. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.