vignettes/my-external-code.R

#----starwars-plot
starwars %>%
  filter(species == "Human") %>%
  ggplot() +
  aes(x=height,
      y=mass) +
  geom_point()


#----starwars-tbl
starwars %>%
  filter(species == "Human") %>%
  select(name,
         height,
         mass,
         homeworld) %>%
  knitr::kable(caption="A knit kable table of  starwars data")
KirtiKharb/DATA-598-WI20-week-5 documentation built on Feb. 18, 2020, 9:34 p.m.