powered by
panel.depth_function
make.segments(df)
# see panel.depth_function()
Run the code above in your browser using DataLab