A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/GuangchuangYu/ggplotify/issues/5 below:

unable to preserve titles and legends for plots from package eulerr · Issue #5 · GuangchuangYu/ggplotify · GitHub

I was trying to convert a venn diagram from eulerr package using as.ggplot but the title and legends are missing.

library(eulerr)
library(magrittr)
library(ggplotify)

df <- data.frame(A = c(1, 1, 0, 1, 0, 1),
                 B = c(0, 0, 1, 1, 1, 1),
                 C = c(1, 0, 1, 0, 1, 0))

p <- 
  df %>% 
  euler(.) %>%
  plot(.,
       main = "Test",
       quantities = TRUE,
       legend = list(side = "bottom")
  ) 

p 

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4