naRows function

Index of rows in a data frame or matrix that contain at least one NA