na.omit(frame) na.fail(frame)
Tm <- na.omit(claims) dim(Tm) [1] 123 5 dim(claims) [1] 128 5 ## How to find which rows were omitted ## used <- match(row.names(claims), row.names(Tm)) omitted <- seq(nrow(claims))[is.na(used)] omitted [1] 12 15 16 32 80