R Studio: Data Organization and Bar Graphs