I have a data frame that contains a list within a each row. I would like to delete a row if it matches the criteria of the most common number with in the list being 0/ the mean of the list being 0. and then to save the new data frame.
Many Thanks
col| list.val | total
-------------------------
 1 | c(0.148573085665703, 0.149999290704727)| 5
 2 | c(0, 0)| 3
 3 | c(-0.0181932244449854, -0.026567880064249)| 2
 4 | c(-0.0181932235749854, -0.556567880064249)| 1
 5 | c(0, 0)| 5
 
    