── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
✔ ggplot2 3.4.0 ✔ purrr 1.0.1
✔ tibble 3.1.8 ✔ dplyr 1.1.0
✔ tidyr 1.3.0 ✔ stringr 1.5.0
✔ readr 2.1.3 ✔ forcats 0.5.2
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
# you might need to run
# install.packages("devtools")
# devtools::install_github("jvcasillas/untidydata")
library(untidydata)
Lets get some tidied up vowel data.
tidy_vowels <-
spanish_vowels |>
separate_wider_delim(
label,
delim = "-",
names = c("id", "gender", "vowel")
)
Now we plot.
Reuse
CC-BY-SA 4.0