Session Ready
Exercise

Adding stats to transformed scales

In the last exercise, we saw the usefulness of the coord_trans() function, but be careful! Remember that statistics are calculated on the untransformed data. A linear model may end up looking not-so-linear after an axis transformation. Let's revisit the two plots from the previous exercise and compare their linear models.

Instructions 1/2
undefined XP
  • 1

    Add log10 transformed scales to the x and y axes.

    • 2
      • Add a log10 coordinate transformation for both the x and y axes.
      • Do you notice the difference between the two plots?