You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to plot hulls surrounding two dots using geom_mark_hull(). it used to work until I updated the tidyverse and ggforce to the latest versions.
When using geom_ellipse() it works good (one of the reasons I started using geom_mark_hull() was that it was faliling to draw ellipses surrounding two points, but this is fixed now as described in #214)
ggplot(test_dataset, aes(x = x, y = y, fill = group)) +
geom_mark_ellipse() +
geom_point(shape = 21, size = 3, color = "black")
But for geom_mark_hull() it doesn't even draw any shape for the group with two point, even though it used to work before:
ggplot(test_dataset, aes(x = x, y = y, fill = group)) +
geom_mark_hull() +
geom_point(shape = 21, size = 3, color = "black")
I've also noticed that this problem is dependent on the way the groupings are given to the function: if the first group is composed of only one or two elements, the function plots the hulls of all groups with a maximum of two elements, and fails to plot the hulls of bigger groups. If the first group is composed of more than two elements, the function plots the hulls of all groups with more than two elements, but fails to plot the hulls of smaller groups.
Hello,
I am unable to plot hulls surrounding two dots using
geom_mark_hull()
. it used to work until I updated thetidyverse
andggforce
to the latest versions.Here is some example data:
When using
geom_ellipse()
it works good (one of the reasons I started usinggeom_mark_hull()
was that it was faliling to draw ellipses surrounding two points, but this is fixed now as described in #214)But for
geom_mark_hull()
it doesn't even draw any shape for the group with two point, even though it used to work before:This is my
sessionInfo()
The text was updated successfully, but these errors were encountered: