Complete an analysis of variance to determine the p-value for the relationship between group (in your case it would be treatment and acclimation groups). The code for this is in the StatisticsScript.R that we used for lab 7.

For the anova for your second question in this data set, do: aov(dependent variable ~ Treatment + Origin) this will give you a p-value for the comparison between the 2 treatments and the 2 origins.

Sample Solution

This question has been answered.

Get Answer