diff --git a/coord.qmd b/coord.qmd index 66c39642..b77ff378 100644 --- a/coord.qmd +++ b/coord.qmd @@ -191,7 +191,7 @@ Internally ggplot2 uses many more segments so that the result looks smooth. ### Transformations with `coord_trans()` Like limits, we can also transform the data in two places: at the scale level or at the coordinate system level. -`coord_trans()` has arguments `x` and `y` which should be strings naming the transformer or transformer objects (see @sec-scale-position). +`coord_trans()` has arguments `x` and `y`, which should be strings naming the transformer or transformer objects (see @sec-scale-position). Transforming at the scale level occurs before statistics are computed and does not change the shape of the geom. Transforming at the coordinate system level occurs after the statistics have been computed, and does affect the shape of the geom. Using both together allows us to model the data on a transformed scale and then backtransform it for interpretation: a common pattern in analysis.