Displaying 1 result from an estimated 1 matches for "11112l".
Did you mean:
11112
2012 Oct 17
2
loop of quartile groups
...Any assistance would be sincerely appreciated. I would like the final data
set to have the following layout:
ID var1 var2 var3 var4 quartile var1
quartile var2 quartile var3 quartile var4
Here is a subset of my data to work with:
structure(list(ID = c(11112L, 11811L, 12412L, 12510L, 13111L,
20209L, 20612L, 20711L, 21510L, 22012L), var1 = c(106, 107,
116, 67, 76, 146, 89, 62, 65, 116), var2 = c(0, 0, 201,
558, 526, 555, 576, 0, 531, 649), var3 = c(70.67, 81.33,
93.67, 84.33, 52, 74, 114, 101, 80.33, 91.33), var4 = c(136,
139, 142, 138, 140, 140, 13...