Skip to contents

mutate_cond

Usage

mutate_cond(.data, condition, ..., envir = parent.frame())

Arguments

.data

data frame to apply the mutate

condition

condition to conditionally apply mutate

...

mutation function

envir

environment to apply condition