Assumes that each set has the same horizontal position
pos_stack(df, width)
df
width
Hadley Wickham <h.wickham@gmail.com>