View source: R/compile-typing.R
as.categorical | R Documentation |
Convert data type to a factor if it's not already
as.categorical(x)
x |
Data to convert to factor |
Data as a factor
as.categorical(1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.