bindMatches: bindMatches

Description Usage Arguments Value Author(s)

View source: R/bindMatches.R

Description

Given 2 data frames(dfA and dfB) and a nx2 matrix of matched indices, will return a dataframe containing both dataframes bound by index. If there are identical names in both dataframes, the result will differentiate by adding idA(default is "A.") to the duplicate names in dfA, and idB(default is "B.") to those in dfB.

Usage

1
bindMatches(dfA, dfB, inds, idA, idB)

Arguments

dfA

First data frame to bind

dfB

Second data frame to bind

inds

A nx2 index pair matrix to bind on

idA

What to concatenate to a column name in dfA if there exists a identical column in dfB

idB

What to concatenate to a column name in dfB if there exists a identical column in dfB

Value

bindMatches returns a dataframe of the original dataframes bound by index.

Author(s)

Sam Murray<slmurray@andrew.cmu.edu>


Sam-Murray/RecordLinkUtil documentation built on Oct. 30, 2019, 11:48 p.m.