I am working with the R programming language. I used the melt() function from the "rehsape" library so that my data looks something like this:
libra