Posts by Roger Salvini • 61 points
2 posts
-
0
votes2
answers871
viewsA: How to decode many columns of a R data frame
I ended up adopting the solution below, following the tips given. for (i in colnames(dados)){ tipo.variavel <- as.character(dados_vars[dados_vars$variable.name == i, "data.type"])…
ranswered Roger Salvini 61 -
6
votes2
answers871
viewsQ: How to decode many columns of a R data frame
I have a data frame with more than 300 columns that are categorical but are encoded as numerical. Each of these columns has its own "type", that is, it has its own encoding table. My problem is to…
rasked Roger Salvini 61