Description Usage Arguments Value
encode.character
takes a character column of a dataframe
and returns it converted with numeric values. It is also possible
to return the correspondance between the numeric values and the
initial characters
1 | encode.character(df, char.var = "Country_Transco", codelist = T)
|
df |
Dataframe |
char.var |
Character variable name that should be converted |
codelist |
If |
A dataframe of two columns or a numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.