diff --git a/data-tidy.Rmd b/data-tidy.Rmd index c481e2c..dad8c13 100644 --- a/data-tidy.Rmd +++ b/data-tidy.Rmd @@ -417,7 +417,7 @@ When you use `".value"` in `names_to`, the column names in the input contribute #| and the second ("1", "2") as the value for a new "id" column. #| fig.cap: > #| Pivoting with `names_to = c(".value", "id")` splits the column names -#| into a two components: the first part determines the output column +#| into two components: the first part determines the output column #| name (`x` or `y`), and the second part determines the value of the #| `id` column. knitr::include_graphics("diagrams/tidy-data/names-and-values.png", dpi = 270)