Exercise 7.5.1

In the package Lock5Data there is a dataset FloridaLakes that contains water sample measurements from 53 lakes in Florida. Produce a bar graph that shows the Lake and AvgMercury variables, and make sure that the lakes are ordered by Average Mercury content.

Exerise 7.5.2

In the package Lock5Data, there is a dataset FootballBrain that has brain measurements for 75 individuals. The Group variable has three levels: Control is somebody that did not play football, FBNoConcuss is a football player with no history of concussions, or FBConcuss which is a football player with concussion history. The variable Cogniton measures their testing composite reaction time score. Change the Group labels to something that would make sense to a reader and create a box-plot graph of the groups vs cognition.

Exercise 7.5.3

In the package Lock5Data, there is a dataset RestaurantTips that gives tip data from the restaurant First Crush Bistro in Potsdam, NY. Make all necessary modifications to the Day variable so that subsequent graphs and tables are labeled in a professional manner. Do a similar modification to the Credit variable. Graph the Bill versus the PctTip for each Day of the week where we use Day as the variable to facet_grid or facet_wrap on. Also include information about if the bill was paid via credit card or cash.