Skip to contents

Sometimes, I do not want to na.omit() because it will treat all features equally. I want to check values only for one column, while removing those observations.

Usage

na_rm_feature(df, colname)

Arguments

df

Data frame to remove observations from

colname

Column name to check for missing values

Value

Data frame with no missing values in column colname