Description Usage Arguments Value
Fill columns in one data frame from another, using data classes from the destination data frame. Optionally give a vector of mappings from one set of column names to the other.
1 | fill_from_columns(data_new, data_old, col_pairs = NULL)
|
data_new |
data frame to modify. All column names present here will be
checked for in |
data_old |
data frame to pull from. Column names here matching columns
in |
col_pairs |
character vector of column names in new data frame (vector names) matched to column names in old data frame (vector values) to use. |
data frame of data_new
values updated with matching columns
from data_old
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.