I think your tab.1$EDUC is a factor which is not ordered.
Kosuke
On Sat, 5 Apr 2003, Beau Kilmer wrote:
Has anyone ever encountered this error? It seems
strange that first
recode doesn't work but the second recode does.
tab.1$HIGHSC <- (tab.1$EDUC < 3)*1
Warning message: "<" not meaningful for factors in:
Ops.factor(tab.1$EDUC, 3)
tab.1$COLLEGE <- (tab.1$EDUC == 3)*1
Thanks,
Beau