In this activity, we will review creating summary tables and explore the water quality data more in depth. We did create some summaries in the previous summary table lesson.
First, go ahead and read in your water quality data file from where ever you have it saved.
wq <- read.csv('data/raleigh_water_analysis.csv')
First, we will work a little to understand what data we have. You will use this information to complete the methods section of your poster
First, let’s do a practice review by looking to see if there is a relationship between the amount of Nitrogen and Phosphorus in streams. To do this:
Phosphorous_total_mg_L and
Nitrogen_total_mg_L.Now, let’s look at a few more challenging summaries to investigate.
Copper_mg_L?E_coli_MPN_100mL?Nitrogen_total_mg_L greater than 1.0?Nitrogen_total_mg_L greater than 1.0?