trans_venn | R Documentation |
Produce a Venn diagram by grouping variable.
trans_venn(
text.var,
grouping.var,
stopwords = NULL,
rm.duplicates = TRUE,
title = TRUE,
title.font = NULL,
title.color = "black",
title.cex = NULL,
title.name = NULL,
legend = TRUE,
legend.cex = 0.8,
legend.location = "bottomleft",
legend.text.col = "black",
legend.horiz = FALSE,
...
)
text.var |
The text variable. |
grouping.var |
The grouping variables. Default |
stopwords |
Words to exclude from the analysis. |
rm.duplicates |
logical. If |
title |
logical. IF |
title.font |
The font family of the cloud title. |
title.color |
A character vector of length one corresponding to the color of the title. |
title.cex |
Character expansion factor for the title. |
title.name |
A title for the plot. |
legend |
logical. If |
legend.cex |
Character expansion factor for the legend. |
legend.location |
The x and y co-ordinates to be used to position the
legend. The location may also be specified by setting x to a
single keyword from the list |
legend.text.col |
The color used for the legend text. |
legend.horiz |
logical; if |
... |
Other arguments passed to plot. |
Returns a Venn plot by grouping variable(s).
The algorithm used to overlap the Venn circles becomes
increasingly overburdened and less accurate with increased grouping
variables. An alternative is to use a network plot with
{codeDissimilarity measures labeling the edges between nodes
(grouping variables) or a heat map (qheat
).
venneuler
## Not run:
with(DATA , trans_venn(state, person, legend.location = "topright"))
#the plot below will take a considerable amount of time to plot
with(raj.act.1 , trans_venn(dialogue, person, legend.location = "topleft"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.