search for: discretizar

Displaying 2 results from an estimated 2 matches for "discretizar".

2013 May 28
3
Nueva consulta
...data frame llamado tabla; al pedir tabla[1:5,] obtengo: color spine width satell weight 1 3 3 28.3 8 3050 2 4 3 22.5 0 1550 3 2 1 24.0 9 2300 4 4 3 24.8 0 2100 5 4 3 26.0 4 2600 Se desea discretizar satell para tener 1 si tiene concubinos y 0 para cuando no los hay y el documento dice se use: (tabla$satell.bin=ifelse (tabla$satell > 0, 1, 0)) pero la Pc reporta: Error en '$<-.data.frame'('*tmp*',"satell.bin", value = logical(0)): replacement has 0 rows, data has...
2013 May 28
0
Nueva consulta
...tabla[1:5,] obtengo: > color spine width satell weight > 1 3 3 28.3 8 3050 > 2 4 3 22.5 0 1550 > 3 2 1 24.0 9 2300 > 4 4 3 24.8 0 2100 > 5 4 3 26.0 4 2600 > Se desea discretizar satell para tener 1 si tiene concubinos y 0 para > cuando no los hay y el documento dice se use: > (tabla$satell.bin=ifelse (tabla$satell > 0, 1, 0)) > pero la Pc reporta: > Error en '$<-.data.frame'('*tmp*',"satell.bin", value = logical(0)): > replace...