diff --git a/data-visualize.qmd b/data-visualize.qmd index 8367f25..08fa9cc 100644 --- a/data-visualize.qmd +++ b/data-visualize.qmd @@ -436,7 +436,7 @@ We finally have a plot that perfectly matches our "ultimate goal"! ) ``` -## ggplot2 calls +## ggplot2 calls {#sec-ggplot2-calls} As we move on from these introductory sections, we'll transition to a more concise expression of ggplot2 code. So far we've been very explicit, which is helpful when you are learning: diff --git a/layers.qmd b/layers.qmd index fa0882a..8e15ac9 100644 --- a/layers.qmd +++ b/layers.qmd @@ -994,7 +994,7 @@ There are two other coordinate systems that are occasionally helpful. ## The layered grammar of graphics -We can expand on the graphing template you learned in @sec-graphing-template by adding position adjustments, stats, coordinate systems, and faceting: +We can expand on the graphing template you learned in @sec-ggplot2-calls by adding position adjustments, stats, coordinate systems, and faceting: ggplot(data = ) + (