inst/examples/ex-stat-cone.r

mtcars$name <- rownames(mtcars)
ggplot(mtcars, aes(wt, mpg, label = name)) +
  theme_scaffold() +
  geom_text(size = 3) +
  stat_cone()
ggplot(mtcars, aes(hp, mpg, label = name)) +
  theme_scaffold() +
  geom_origin() +
  geom_text(size = 3) +
  stat_cone(origin = TRUE, linetype = "dotted")

Try the ordr package in your browser

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

ordr documentation built on Aug. 8, 2025, 7:27 p.m.