inst/examples/ex-stat-chull.r

ggplot(USJudgeRatings, aes(x = INTG, y = PREP)) +
  geom_point() +
  stat_chull(alpha = .5)

ggplot(USJudgeRatings, aes(x = INTG, y = PREP)) +
  stat_peel(
    aes(alpha = after_stat(hull)),
    breaks = seq(.1, .9, .2), color = "black"
  )
corybrunson/ordr documentation built on Feb. 24, 2025, 6:34 a.m.