SyntaxFix
Write A Post
Hire A Developer
Questions
dat <- data.frame(x1 = c(1,2,3, NA, 5), x2 = c(100, NA, 300, 400, 500)) na.omit(dat) x1 x2 1 1 100 3 3 300 5 5 500