Skip to content
Prev 310275 / 398503 Next

conditional coding question

Hello,

Sorry, there's a mistake repeated in 3 code lines. Corrected:

incorp <- rep(NA, 4408)
incorp[groupinc == 5] <- 'cons'
incorp[(groupinc %in% -3:-2) & (indinc < 9)] <- 'ethnat'
incorp[(groupinc %in% 1:4) & (indinc > 8)] <- 'libmul'
incorp[(groupinc %in% -2:-1) & (indinc > 8)] <- 'civic'


Hope this helps,

Rui Barradas
Em 08-11-2012 11:13, Rui Barradas escreveu: