Return a Default Value for Values Meeting a Condition
.defaultIf(FUN.test, x, default, count = FALSE)
FUN.test | function returning vector of logical, to be applied to
|
---|---|
x | vector in which to set default values |
default | value to be set in |
count | if |