R question. Using lappy on a data.frame and creating new variables w/ output.
- by Michael
Hello,
I have 13 quantitative variables in a data.frame (called 'UNCA').
The variables are named q01_a, q01_b, ...q01_m.
I want to create 13 new variables that have the same values but are coded as a factor.
I would like to name these 13 new variables q01_a.F, q01_b.F, ...q01_m.F.
Any help would be greatly appreciated!