The subset() function allows you to specify conditions for row removal more conveniently. For example, df <- subset(df, condition)