I have a list of several vectors. I would like to check whether all vectors in the list are equal. There\'s identical which only works for pairwise comparison.
identical
this also works
m <- combn(length(test_true),2) for(i in 1:ncol(m)){ print(all(test_true[[m[,i][1]]] == test_true[[m[,i][2]]])) }