r - venneuler subset not correctly plotted -


i try plot venn 1 set subset of set. reason it's not plotted in set little bit outside set. doing wrong?

example

file <- read.csv(file="c:\\test.csv",head=true,sep=",")    lists <- list(file$a,file$b,file$c) items <- sort(unique(unlist(lists))) mat <- matrix(rep(0,length(items)*length(lists)), ncol=3) colnames(mat) <- c("a","b","c") rownames(mat) <- items lapply(seq_along(lists), function(i){    mat[items %in% lists[[i]],i] <<- table(lists[[i]])  })   library(venneuler)  v <- venneuler(mat>0) 

the csv file example, c subset of b

a   b   c 37  16  16 38  25  25 58  35  35 103 36  36 106 37  37 108 48  66 117 52  80 196 58  90 206 66  97 240 74   251 80   266 90   269 97   325 226  346 266  353 298  428 429  575 514  524  


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -