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