How to make a graph of clustered boolean variables in R?
问题 I have a dataset which consists entirely of boolean variables. Exactly like the transformed animal dataset below, only with many more columns. # http://stats.stackexchange.com/questions/27323/cluster-analysis-of-boolean-vectors-in-r library(cluster) head(mona(animals)[[1]]) war fly ver end gro hai ant 0 0 0 0 1 0 bee 0 1 0 0 1 1 cat 1 0 1 0 0 1 cpl 0 0 0 0 0 1 chi 1 0 1 1 1 1 cow 1 0 1 0 1 1 The goal is to rearrange the rows in such a way that groupings of similar membership patterns are