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 options: percentages? #26

Open
Kuukkelipyy opened this issue Feb 2, 2022 · 1 comment
Open

Display options: percentages? #26

Kuukkelipyy opened this issue Feb 2, 2022 · 1 comment

Comments

@Kuukkelipyy
Copy link

First of all, thank you for the really nice piece of work! At the moment, I’m trying to draw a Venn diagram for a research article and I wonder whether it is possible to display the percentages based on the total number of observations of the data (instead of observations included in the diagram)?

For example, let say I have data of 1000 observations and I create a Venn diagram of its logical variables A, B, C and D. However, values of 100 observations are false regarding all of those four variables and thus they are not included in the diagram. The intersection of ABCD consists of 90 observations and when displaying the percentages, it shows 10% (90 out of 900 observations). However, I would like to show the proportion of ABCD in relation to the total data, which in this case would be 9% (90/1000). Is that somehow possible?

I would really appreciate if someone could help me out with this.

@Kuukkelipyy
Copy link
Author

This issue was apparently already solved in the latest Github version of ggvenn, which I did not realised before:
https://stackoverflow.com/questions/71006727/venn-diagram-4-sets-with-r-problem-with-percentages

Thanks!

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

1 participant