Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • This might not work for you, but setting colour = NA in geom_density_2d removes the lines, just leaving the shaded area Commented Sep 27, 2018 at 12:18
  • Please check this answer. I would say that your approach is wrong. Instead of calculating density, plotting density and then removing density you just can encircle points using ggalt::geom_encircle Commented Sep 27, 2018 at 12:23