Hello all, I'm trying to make a histogram of the data contained in my dataframe. The summary of the data gives me exactly what I want summary (Data) V1 V2 first001: 3 last001: 9 first002: 3 last002: 7 first003: 2 last003: 6 (Other) :52 (Other): 27 But how do I capture the names and values in vectors so I can plot them?