From 452b7ada7662f59caea352debe4311770eff913c Mon Sep 17 00:00:00 2001 From: DivadNojnarg Date: Tue, 11 Jun 2024 08:52:45 +0200 Subject: [PATCH] wording --- vignettes/plot-block.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/plot-block.Rmd b/vignettes/plot-block.Rmd index 7864fc44..afe0021f 100644 --- a/vignettes/plot-block.Rmd +++ b/vignettes/plot-block.Rmd @@ -338,7 +338,7 @@ geom_point(color = .(color), shape = .(shape)) # Don't forget to wrap it with qu ``` Importantly, since we use `.(color)`, the field name must be __color__ and conversely for the shape. -Also note that, since the previous data contains the `ggplot` object, we must extract is data such that `data_cols <- function(data) colnames(data$data)`. +Also note that, since the previous data contains the `ggplot` object, we must extract its data located in `data$data`, such that the column names are obtained with `data_cols <- function(data) colnames(data$data)`. This finally gives us: