This is my first post so I'd be grateful for any assistance!
I'm recoding a variable in SPSS:
RECODE income(60, 61, 62, 63 = 200) INTO income_2.
EXECUTE.
CROSSTABS income_2 by income.
So far I've tried the following but I'm not getting any sensible output:
income2019$income_2 <- dplyr::recode(income2019$income_2, '60:63' = 200L)
CrossTable(income2019$income_2, income2019$income)
The crosstable R produces is enormous though - I was assuming it would produce the selected income_2 variable by income variable output.
Thank you :)