open_in_new
content_copy
df %>% # Impute/fill the column fill(col_name, .direction = "up") # .direction can be "up" or "down"