I am looking for a way to find the number of rows consisting of three or more 1s in a number of binary matrices stored in individual .csv files in the same working directory. Is there a way in R to do such a thing? I have read in all the files in the set working directory with the following but I am unsure what to do next...
file_list <- list.files(pattern="*.csv")
files <- lapply(file_list, read.delim)