Learn R Programming

SherlockHolmes (version 1.0.2)

mergeTables: mergeTables

Description

merge (inner join) the results in 2 tables generated from 2 vectors

Usage

mergeTables(tv, tw, cnv, cnw)

Value

numeric matrix generated from merging tables from v and w

Arguments

tv

first table

tw

second table

cnv

character name for column coming from v

cnw

character name for column coming from w

Examples

Run this code
mt<-mergeTables(inside,outside,"in","out")[1:10,]

Run the code above in your browser using DataLab