Skip to contents

Mutate with replacement if NULL or NA values

Usage

mutate_if_nulla(.tbl, col, replacement)

Arguments

.tbl

A data.frame.

col

A column from .tbl.

replacement

A replacement of the same type as col.

Value

A mutated tibble.