na.omit not removing NA (data is numerical)

Viewed 1985

I have just merged two data frames and am trying to remove rows with a NA in the value column. As of now I have..

t.dup.rights <- merge(dataframe1, dataframe2, by = "ID", all = T)
na.omit(tdup.rights$value)

The value column has either a 1 or NA. I used

is.numeric(t.dup.rights$value)

to double check that r doesn't think it's a factor. After I run the na.omit function the data frame appears to remain unchanged. I am working with a particularly large data set (200K obs). I am also using the dplyr package.

1 Answers
Related