Question: Use R to confirm your calculations in problem 1 ( the pollution data ) . Show the code you used and the subsequent output. The

Use R to confirm your calculations in problem 1(the pollution data).
Show the code you used and the subsequent output. The data can be generated using the
following commands:
PolutionRatios <- data.frame(
Ratio = c(76.50,6.03,3.51,9.96,4.24,7.74,9.54,41.70,1.84,2.5,1.54,
0.27,0.61,0.54,0.14,0.63,0.23,0.56,0.48,0.16,0.18),
Type = c( rep('Terrestrial',11), rep('Aquatic',10)))
head( PolutionRatios ) # Print out some data to confirm column names.
Hint: for computing the means and medians for each type of feeder separately,
the group_by() command we demonstated earlier in the chapter is convenient.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!