search for: sacamos

Displaying 1 result from an estimated 1 matches for "sacamos".

Did you mean: hacemos
2015 Oct 08
1
Tranformar falsas variables char en numéricas
Hola, Una manera muy sencilla de hacerlo es esta: #------------------------------- whatcol <- 0 for(i in 1:ncol(d)){ whatcol[i] <-class(d[,i]) } whatcol #-------------------------------- > whatcol <- 0 > for(i in 1:ncol(d)){ + whatcol[i] <-class(d[,i]) + } > whatcol [1] "character" "character" "factor" "factor"