Question: You have a dataset called terrapin that contains data on different types of terrapins. You also have two subset datasets, terrapin.box and terrapin.painted--each for a


You have a dataset called \"terrapin\" that contains data on different types of terrapins. You also have two subset datasets, "terrapin.box" and \"terrapin.painted"--each for a different species of terrapin. You use regressions to assess the effect of berries and tuna diets on terrapin weight, but discover that your two regression models are producing the same output. Edit the following two lines of code to correct the error and produce outputs for each of the two species. All three variables have ratio measures. M1 = Im (terrapin$weight ~ terrapin$berries + terrapin$tuna, data = terrapin.box) M2 = Im (terrapin$weight ~ terrapin$berries + terrapin$tuna, data = terrapin.painted)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
