View source: R/create_dictionary.R
create_dictionary | R Documentation |
Crea un diccionario para los niveles de una variable factor
create_dictionary(var, name.var = NULL)
var |
object to be coerced or tested. (factor) |
name.var |
name of variable |
na.char |
a character vector of strings which are to be interpreted as NA values. Blank fields are also considered to be missing values in logical, integer, numeric and complex fields. Note that the test happens after white space is stripped from the input, so na.strings values may need their own white space stripped in advance. |
Miriam Mota mmota.foix@gmail.com
## Not run: dc_fumador <- create_dictionary(var = factorDat$Fumador) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.