mirror_na: Fill gaps in a dataframe with data from another dataframe

Description Usage Arguments Value

Description

Function replacing NA values in a dataframe with sequentially corresponding data from another dataframe of the same length and with same column names.

Usage

1
mirror_na(to, from, colnames, case.sensitive = T)

Arguments

to

dataframe holding the NA values to replace

from

dataframe holding the values to replace the NA's

colnames

character vector with the names of the columns

case.sensitive

logcial indicating if column names are considered according to case or not

Value

dataframe with replaces NA's


pezzacolori/boris-r-misc documentation built on Sept. 14, 2021, 1:46 a.m.