I have a list of matrices, all of equal dimensions. Each matrix within the list represents a different specimen; each matrix contains three columns for X, Y and Z coordinates, and each row represents a different point in 3D space (i.e., an identifiable landmark).
Most specimens are missing coordinate data for particular landmarks (so that all three columns contain NAs). I would like to subset all matrices in the list so that they only include landmarks/rows containing complete data (i.e., no NAs exist in that row for any of the specimens/matrices in the entire list).
I fear this may be quite a complicated task for data stored in list format. As all the matrices have the same dimensions, would it be easier to convert the data to an array? I wanted to avoid doing this as it would (I believe) strip the row, column and list-element names I use to identify the data.