Description Usage Arguments Value Warning See Also Examples
Produce a Venn diagram by grouping variable.
1 2 3 4 5 6 |
text.var |
The text variable. |
grouping.var |
The grouping variables. Default NULL generates one output for all text. Also takes a single grouping variable or a list of 1 or more grouping variables. |
stopwords |
Words to exclude from the analysis. |
rm.duplicates |
logical. IF TRUE removes the duplicated words from the analysis (only single usage is considered). |
title |
logical. IF TRUE adds a title corresponding
to the |
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. NULL and NA are equivalent to 1.0 |
title.name |
A title for the plot. |
legend |
logical. If TRUE uses the names from the
|
legend.cex |
Character expansion factor for the legend. NULL and NA are equivalent to 1.0. |
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 TRUE, set the legend horizontally rather than vertically. |
... |
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 dissimilarity measures labeling the edges between nodes (grouping variables).
1 2 3 | 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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.