mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 18:09:39 +02:00
prepared for auto ellipsis or circle
This commit is contained in:
parent
0b8102d25f
commit
1204487836
1 changed files with 6 additions and 0 deletions
|
@ -109,6 +109,12 @@ plot_euler <- function(data, pri, sec, ter = NULL, seed = 2103) {
|
||||||
#' ) |> plot_euler_single()
|
#' ) |> plot_euler_single()
|
||||||
#' mtcars[c("vs", "am")] |> plot_euler_single()
|
#' mtcars[c("vs", "am")] |> plot_euler_single()
|
||||||
plot_euler_single <- function(data) {
|
plot_euler_single <- function(data) {
|
||||||
|
# if (any("categorical" %in% data_type(data))){
|
||||||
|
# shape <- "ellipse"
|
||||||
|
# } else {
|
||||||
|
# shape <- "circle"
|
||||||
|
# }
|
||||||
|
|
||||||
data |>
|
data |>
|
||||||
ggeulerr(shape = "circle") +
|
ggeulerr(shape = "circle") +
|
||||||
ggplot2::theme_void() +
|
ggplot2::theme_void() +
|
||||||
|
|
Loading…
Add table
Reference in a new issue