I want to count the number of NA values in a data frame column. Say my data frame is called df, and the name of the column I am considering is
NA
df
If you are looking to count the number of NAs in the entire dataframe you could also use
sum(is.na(df))