Displaying 1 result from an estimated 1 matches for "idfortest".
Did you mean:
fortest
2011 Aug 18
3
Is this a bug for my fault?
Dear sir/madam,
I tried to recode some complex multiple variables and run into a problem that
r can change only some column that I want to change.
I can reproduce the problem with this
idfortest <- c(6,23,46,63,200,238,297,321,336,364,386,392,414,434,441)
id <- seq(1:500)
id[id==idfortest]
the result showed
Warning in id == idfortest :
longer object length is not a multiple of shorter object length
[1] 200 386 434
can you enlighten me for this, thank you in advance.
Regards,
Wi...