I may or may not have the most elegant solution to this problem, but if it
were me, I would probably put them all in a list and then
unique_matrix_list <- unique(list_of_matrix)
# number of unique matricies:
length(unique_matrix_list)
# count the number of each matrix,
for (m in unique_matrix_list) {
count_m <- which(list_of_matrix == m)
}
but, i havent done this myself.
see
?unique
and maybe that'll help.
--
View this message in context:
http://r.789695.n4.nabble.com/Re-Counting-unique-items-in-a-list-of-matrices-tp2967112p2967151.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.