Display options: percentages?
Kuukkelipyy opened this issue · 1 comments
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.
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!