factor-analysis

Venn diagram from list of clusters and co-occurring factors

旧时模样 提交于 2019-11-30 11:06:41
问题 This question was migrated from Cross Validated because it can be answered on Stack Overflow. Migrated 8 years ago . I've got an input file with a list of ~50000 clusters and presence of a number of factors in each of them (~10 million entries in total), see a smaller example below: set.seed(1) x = paste("cluster-",sample(c(1:100),500,replace=TRUE),sep="") y = c( paste("factor-",sample(c(letters[1:3]),300, replace=TRUE),sep=""), paste("factor-",sample(c(letters[1]),100, replace=TRUE),sep=""),

Venn diagram from list of clusters and co-occurring factors

我与影子孤独终老i 提交于 2019-11-29 23:17:35
I've got an input file with a list of ~50000 clusters and presence of a number of factors in each of them (~10 million entries in total), see a smaller example below: set.seed(1) x = paste("cluster-",sample(c(1:100),500,replace=TRUE),sep="") y = c( paste("factor-",sample(c(letters[1:3]),300, replace=TRUE),sep=""), paste("factor-",sample(c(letters[1]),100, replace=TRUE),sep=""), paste("factor-",sample(c(letters[2]),50, replace=TRUE),sep=""), paste("factor-",sample(c(letters[3]),50, replace=TRUE),sep="") ) data = data.frame(cluster=x,factor=y) With a bit of help from another question, I got it