inst/extdata/example_plot.R

library(tidyverse)

starwars %>%
  select(height, mass) %>%
  filter(!is.na(mass), !is.na(height)) %>%
  ggplot(aes(height, mass)) +
  geom_point()

Try the tidycode package in your browser

Any scripts or data that you put into this service are public.

tidycode documentation built on Dec. 11, 2019, 1:08 a.m.