Remove rows with all or at least one NA
# Remove all rows with all NA's
data[rowSums(is.na(data)) != ncol(data),]
# Remove rows with at least one NA
data[rowSums(is.na(data)) == 0,]
# Remove rows from a dataframe based on a specific column with NA's
data[complete.cases(data$column),]