Description Usage Arguments Details Examples
Using a venn diagram where the overlap indicates the covariance between two variables and the area of the circles indicates the variance of each.
1 |
x |
a base variable or a matrix/data frame with 2/3 variables |
y |
a comparison variable |
z |
an optional third variable |
scale |
whether to scale the variables |
plot |
whether to plot, default TRUE |
plotOpts |
named list of custom plot options; see details |
There are several custom options that can be added to the plotOpts argument:
precision (400) - the number of points to use to draw the circles
axes (FALSE) - whether to draw the (arbitrary) axes
triangle (FALSE) - only available with 3 vars: whether to draw a triangle between the centers of the circles
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.