We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimal reproducible example:
ggplot() + geom_quasirandom(aes(x, y), data.frame(x="A", y=c(1, 0.9999999999999)), groupOnX = TRUE)
Warning messages: 1: In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) : collapsing to unique 'x' values 2: In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) : collapsing to unique 'x' values 3: In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) : collapsing to unique 'x' values
Might be related to tidyverse/ggplot2#4455 (comment) where geom_violin would produce the same error.
I was able to solve it in this case by rounding the y values:
ggplot() + geom_quasirandom(aes(x, y), data.frame(x="A", y=round(c(1, 0.9999999999999), 12)), groupOnX = TRUE)
geom_beeswarm also has trouble handling values like this. The following silently drops one of the data points:
geom_beeswarm
ggplot() + geom_beeswarm(aes(x, y), data.frame(x="A", y=c(1, 0.9999999999999)), groupOnX = TRUE)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Minimal reproducible example:
Might be related to tidyverse/ggplot2#4455 (comment) where geom_violin would produce the same error.
I was able to solve it in this case by rounding the y values:
geom_beeswarm
also has trouble handling values like this. The following silently drops one of the data points:The text was updated successfully, but these errors were encountered: