...

/

Solution: Appropriately Visualize the Significant Findings

Solution: Appropriately Visualize the Significant Findings

Let's look at the solution of the previous exercise.

Solution

We have three predictors to explore. There are lots of ways we could do this. For example, we could use the qplot() function to facet in two dimensions for two predictors, like this:

R
qplot(data=RxP.byTank,
x=Pred, y=N.dead,
fill=Pred,
facets=Hatch~Res,
geom="boxplot")

That plot very effectively shows the predator effect, but it makes it difficult to discern the resource or hatching effects. Maybe it looks like the mortality is slightly higher in the low resource treatment, but it isn’t easy to tell. It’s impossible to know if the ...