Description Usage Arguments Value Author(s) Examples
This function merges a list of data frames, checks whether cases with the same value on the identifier variable have different values in different datasets. Additionally, NA
resulting from the merge (e.g., in repeated block designs) can be replaced with a customed character missing to facilitate future data preparation of the merged dataset. See collapseMissings
for details on supported character missings for other functions in the eatPrep
package.
1 |
newID |
A character vector of length 1 indicating the name of the identifier variable in the merged dataset. |
datList |
A list of data frames to be merged |
oldIDs |
A character vector or a numeric vector containing either the names of the identifier variables in datList or their column number in each data frame in datList. Default is a vector containing |
addMbd |
logical. If |
verbose |
logical. If |
A data frame containing unique cases and unique variables. All cases and all variables from the original datasets will be kept and matched.
Karoline Sachse, Nicole Haag
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.