In R, the na.omit()
function can be used to discard entries in a data.frame that contain NA values. As a side effect, if lines are indeed discarded, the function adds an attribute 'omit' to the result that contains a vector of the row.names that were discarded.
I want to discard this 'omit' attribute because I don't need it. What is the best way to do that?