search for: 15034l

Displaying 1 result from an estimated 1 matches for "15034l".

Did you mean: 1034l
2011 Dec 12
0
using dcast to reshape a DF from long to wide with multiple measured variables per obs
...e a fill number.   Essentially, I would like the DF to eventually assume the following strucutre:   DFnew <- structure(list(person = 1:3, fillno1_v2 = c(14975L, 14975L, 14975L ), fillno1_v3 = c(30L, 30L, 30L), fillno2_v2 = c(15006L, 15006L, 15006L), fillno2_v3 = c(30L, 30L, 30L), fillno3_v2 = c(15034L, 15034L, 15034L), fillno3_v3 = c(30L, 30L, 30L), fillno4_v2 = c(15065L, 15065L, 15065L), fillno4_v3 = c(30L, 30L, 30L), fillno5_v2 = c(NA, 15095L, 15095L), fillno5_v3 = c(NA, 30L, 30L), fillno6_v2 = c(NA, NA, 15126L), fillno6_v3 = c(NA, NA, 30L)), .Names = c("person", "fillno1_v...