I am working on a large dataset, with some rows with NAs and others with blanks:
df <- data.frame(ID = c(1:7),
Alternative solution can be to remove the rows with blanks in one variable:
df <- subset(df, VAR != "")