mergeTables: Merge 1-D Tables

Description Usage Arguments Details Value

Description

Merge two 1-D tables of counts

Usage

1
2

Arguments

t1, t2

named vectors of counts, as from base::table

Details

These functions combine tabular data. The 'Integer' form requires that the names be interpretable as integer values.

Value

a named vector of class 'table', where the named elements are the union of the names of the two input tables, and their values are the sum of counts.


robertdouglasmorrison/DuffyTools documentation built on Dec. 7, 2018, 8:02 a.m.