ggforce icon indicating copy to clipboard operation
ggforce copied to clipboard

`geom_mark_hull` does not work without an error message

Open su-park opened this issue 2 years ago • 0 comments

I installed ggforce, tried below codes and I got nothing hulled.

Actually there isn't any message why it does not work.

mpg %>%
  ggplot(aes(x = displ, y = hwy)) +
  geom_point() +
  geom_mark_hull(aes(filter = model == "corvette", label = model)) +
  labs(title = "Fuel economy from 1999 to 2008 for 38 car models",
       caption = "Source: https://fueleconomy.gov/",
       x = "Engine Displacement",
       y = "Miles per Gallon")

After some searches I noticed requirement for concaveman package.

you may need to add concaveman as a dependent package

su-park avatar Sep 08 '21 06:09 su-park