Skip to content
New issue

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

Display option : add thousand separator #55

Open
DrKn0ck95 opened this issue Feb 1, 2025 · 2 comments
Open

Display option : add thousand separator #55

DrKn0ck95 opened this issue Feb 1, 2025 · 2 comments

Comments

@DrKn0ck95
Copy link

Thank you very much for this incredible work. I would like to add thousand separators (with comma) in counts. How could this be done ?
Thank you for your help !

@yanlinlin82
Copy link
Owner

Please try parameter comma_sep=TRUE. You may need to upgrade to latest version from GitHub.

# install.packages("devtools")
# devtools::install_github("yanlinlin82/ggvenn")
library(ggvenn)
d <- data.frame(A = rep(c(TRUE, FALSE), each = 10000), B = rep(c(TRUE, FALSE), times = 10000))
ggvenn(d, comma_sep = TRUE)

@DrKn0ck95
Copy link
Author

Thank you very much for your answer. Is there a way to use the parameter comma_sep=TRUE inside a geom_venn() layer of ggplot ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants