My final draft of HW3. I've tried to do a lot of things in here that are new for me (my first function, my first melt, my first experiences with plyr and ggplot2).

Hopefully it looks good!