Comments (5)
Unfortunately there is no such argument, though I am not convinced there should be. I would argue that it's the intersections that are of interest in a Euler diagram and not the complement to those intersections. However, if you think otherwise I'm sure I could be persuaded.
In any case, it is very easy to fix this yourself. You could do one of the following two:
library(eulerr)
library(lattice)
library(latticeExtra)
plot(euler(c(A = 25, B = 25))) +
layer(panel.key("n = 10", points = FALSE))
plot(euler(c(A = 25, B = 25, "NOT A, NOT C" = 10)))
from eulerr.
Hello @jolars
thanks a lot, it looks like it worked 👍
plot(euler(c("A" = 39, "B" = 202, "A&B"=46), labels = c("A","B")), fill_opacity = , fill=c("#33A02C","#1F78B4"), lty=0, fontface = 0, counts=TRUE, main="(A)") + layer(panel.key("n = 16", points = FALSE))
from eulerr.
I have given this thought and I do not think that I will support this since a principal feature of the diagrams is that the shapes are area-proportional and this is already a possibility by specifying a set that contains the other sets, like this (using ellipses):
plot(euler(c(C = 16, "A&C" = 39, "B&C" = 202, "A&B&C"=46), shape = "ellipse"))
Not perfect, but at least it maintains area-proportionality.
from eulerr.
First of all thanks for this great package. I am reopening the issue because I have a related question. Euler diagrams can be used to display the percentage of of explained variance due to various components. This is then a share of the total variance. Often the total is drawn as a box around the euler diagram and the size of the circles are scaled proportional to the proportions explained. Can this be achieved using eulerr?
from eulerr.
Unfortunately not @mkschneider. This would be difficult to achieve while still maintaining proportionality of the diagrams. I am open to pull requests addressing the issue but will not work on it myself. I'll reopen the issue, however.
from eulerr.
Related Issues (20)
- color of intersection not changes for some intersections HOT 2
- radius and co-ordinates changes on every run with four sets venn diagram HOT 2
- very slow, Doesn't work with large datasets HOT 6
- basic use raises error and sometimes crashes R HOT 1
- Empty "interaction" present HOT 1
- Missing overlaps in euler plot HOT 2
- missing overlaps using eulerr HOT 3
- Cannot "unbold" labels HOT 2
- Option to have areas proportional to the *log* of the populations?
- The overlaps of last row data cannot be viewed from the plot
- Plotting euler diagram overrides multi-panel layout HOT 1
- percent and counts on two different lines? HOT 1
- eulerr not working with r 4.2.0 HOT 1
- Missing overlaps and areas in euler vs venn HOT 2
- Overlap of four sets is missing observations HOT 1
- label and percent/count font size and space in between? HOT 1
- eulerr fits my data wrong, not sure what is the problem HOT 1
- Display big numbers with a comma HOT 1
- Overlapping area colors HOT 1
- Can't intall under R version 4.3.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eulerr.