overwriteIfNotNA: Use Non-NA Values from Source Column in Target Column

View source: R/utils_berlin.R

overwriteIfNotNAR Documentation

Use Non-NA Values from Source Column in Target Column

Description

Overwrite the values in the target column with the values in the source column at indices where the values in the source column are not NA

Usage

overwriteIfNotNA(data, target_column, source_column)

Arguments

data

data frame

target_column

name of target column

source_column

name of source column


KWB-R/kwb.prep documentation built on June 11, 2022, 1:29 p.m.