Hapus NA dari Vektor R
x<-x[!is.na(x)]
Confused Chamois
x<-x[!is.na(x)]
new_df <- na.omit(df, c("myvar1", "myvar2")) # Remove NA on specific variables