powered by
generate code to transform data.
code_transf(variable, new.type, d.o = "datos.originales", d = "datos")
the name of the variable to be converted.
the new type of the variable. Can be categorical, numerical or disjunctive. ('categorico', 'numerico', 'disyuntivo')
the name of the original data.
the name of the current data.
# NOT RUN { iris2 <- iris x <-code_transf('Species', 'disyuntivo', 'iris', 'iris2') exe(x) head(iris2) # }
Run the code above in your browser using DataLab