mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-12-16 17:42:10 +01:00
27 lines
439 B
Markdown
27 lines
439 B
Markdown
|
|
# Easily plot single euler diagrams
|
||
|
|
|
||
|
|
Easily plot single euler diagrams
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
``` r
|
||
|
|
plot_euler_single(data)
|
||
|
|
```
|
||
|
|
|
||
|
|
## Value
|
||
|
|
|
||
|
|
ggplot2 object
|
||
|
|
|
||
|
|
## Examples
|
||
|
|
|
||
|
|
``` r
|
||
|
|
data.frame(
|
||
|
|
A = sample(c(TRUE, TRUE, FALSE), 50, TRUE),
|
||
|
|
B = sample(c("A", "C"), 50, TRUE),
|
||
|
|
C = sample(c(TRUE, FALSE, FALSE, FALSE), 50, TRUE),
|
||
|
|
D = sample(c(TRUE, FALSE, FALSE, FALSE), 50, TRUE)
|
||
|
|
) |> plot_euler_single()
|
||
|
|
|
||
|
|
mtcars[c("vs", "am")] |> plot_euler_single()
|
||
|
|
```
|