Displaying 1 result from an estimated 1 matches for "q0007_0002".
Did you mean:
q0007_0001
2011 Sep 16
2
automatic selection of object without loop
...imported a dataframe from Spss into R and saved it as an object called
"kinderrechte".
I have got the following command lines:
q1 <- kinderrechte[,"q0007_0001"]
l1 <- q0007_0001_l
now i would like to be able to change the column name in the first command
line (e.g. into q0007_0002) and to get R to automatically change
q0007_0001_l in the second command line into q0007_0002_l without using a
loop.
Thank you in advance for your help!
Marion
[[alternative HTML version deleted]]