I have a data frame
catch yr mesh
253 2013 0
4947 2013 1
3656 2013 1.25
3259 2013 1.5
2902 2013 1.75
4605 2013 2
764 2013 2.25
256 2013 2.5
I want to insert rows that repeat the values in "yr" and "mesh" by the corresponding row value in the "catch" column.
So, I would like 253 rows that have a value of 253 for catch, 2013 for yr, & 0 for mesh...4947 rows w/ a value of 4947 for catch, 2013 for year, 1 for mesh, etc.