remove rows if na in column r code example Example: remove null values from a column in r df[!(is.na(df$start_pc) | df$start_pc==""), ]