I am trying to create a Euler diagram with eulerr. With my own data no plot apears when I call plot()
. I decided to run the example (https://github.com/jolars/eulerr) to see if I made any mistakes in my own code:
library(eulerr)
#From Wilkinson 2012
fit <- euler(c("A" = 4, "B" = 6, "C" = 3, "D" = 2, "E" = 7, "F" = 3,
"A&B" = 2, "A&F" = 2, "B&C" = 2, "B&D" = 1,
"B&F" = 2, "C&D" = 1, "D&E" = 1, "E&F" = 1,
"A&B&F" = 1, "B&C&D" = 1),
shape = "ellipse")
Then I run plot(fit)
but still no plot appears. fit$stress
and fit$diagError
return expected values.
I am running it in RStudio (Version 1.3.959) on a Mac (OSX 10.12.6) with eulerr 6.1.0. What am I doing wrong? Thank you.