Hello,
I think this is Sill question but it's happens......
am$e_isell <- factor( with( am, ifelse( e_iacc == 1 & C5 == 1, 1, 0)))
summary (am$e_isell)
0 1
3966 296
(Ok)
am$e_isell [4256]
[1] 1
Levels: 0 1
(OK)
cbind( am$e_isell[4256], am$C6[4256])
[,1] [,2]
[1,] "2" "1"
(??)
cbind( am$e_isell[4256])
[,1]
[1,] "2"
(??)
Does anyone understand why this happens?
Atenciosamente
Ana Patricia Martins
-------------------------------------------
Servi??o M??todos Estat??sticos
Departamento de Metodologia Estat??stica
Telef: 218 426 100 - Ext: 3210
E-mail: <mailto:ana.pmartins at ine.pt> ana.pmartins at ine.pt
[[alternative HTML version deleted]]