Description Usage Arguments Examples
View source: R/resize_circles.R
Calculates the radii of the two circles relative to a fixed center-to-center distance. The areas of the circles and their overlap will be proportionate the three input values of X alone, Y alone and the intersection of X and Y.
1 | resize_circles(x_only, y_only, overlap, standardDistance = sqrt(0.5))
|
x_only |
a numeric value representing the relative size of X excluding its intersection with Y. |
y_only |
a numeric value representing the relaitive size of Y excluding its intersection with X. |
overlap |
a numeric value representing the relative size of the intersection of X and Y. |
standardDistance |
a numeric value specifying the fixed center-to-center distance to which the radii are matched. The default value is that used by plotVenn2d |
1 2 3 4 | plot.new()
plot_venn2d(rep("",3), radius=resize_circles(20,.5, 3), Title=NULL,
resizePlot=0.7, labels=c("",""))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.