mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
30 lines
695 B
Markdown
30 lines
695 B
Markdown
# Easily plot single euler diagrams
|
|
|
|
Easily plot single euler diagrams
|
|
|
|
## Usage
|
|
|
|
``` r
|
|
plot_euler_single(data, color.palette = "viridis")
|
|
```
|
|
|
|
## 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()
|
|
#> Scale for fill is already present.
|
|
#> Adding another scale for fill, which will replace the existing scale.
|
|
|
|
mtcars[c("vs", "am")] |> plot_euler_single("magma")
|
|
#> Scale for fill is already present.
|
|
#> Adding another scale for fill, which will replace the existing scale.
|
|
```
|