Skip to contents

Fill up NA values with median of lookup table

Usage

fill_up_na_with_median_from_lookup(df, df_lookup, matching_id = "well_id")

Arguments

df

data frame with NA values

df_lookup

data frame to calculate median values

matching_id

column with ids for which median should be calculated