append_donor_data | R Documentation |
Append assigned attributes in donor file to the fused data.
append_donor_data(data.fuse = data.fuse, data.don = data.don, by = by, vars = vars)
data.fuse |
Fused data generated by function |
data.don |
Donor data. |
by |
Variables for table joining. Usually the donor_id plus by.var variable. |
vars |
Variables from donor data which need to be appended. |
A synthetic data frame includes all columns in data.fuse plus the columns of vars from data.don.
out <- donor_data_append(out, magtmp, by=c("donor_id", "MAG"), vars=c(paste0("AT",1:10)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.