View source: R/code_categorical.R
code_categorical | R Documentation |
This function will code a column containing categorical "string" values into numerical values
code_categorical(x, variable = "", order = c())
x |
dataframe |
variable |
column name |
order |
c() of column values in order |
code_categorical(x, variable = "columnName", order = c("string1", "string2", "string3"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.