merge.tableMatrix: Merging tableList

Description Usage Arguments Value Examples

Description

Merging tableList

tableMatrix method, merges tableMatrix or tableList objects with data.table, data.frame, tableList or tableMatrix.

Usage

1
2
3
4
5
## S3 method for class 'tableList'
merge(x, y, key, ...)

## S3 method for class 'tableMatrix'
merge(x, y, key, ...)

Arguments

x

tableMatrix object

y

data.table, data.frame, tableList, tableMatrix object.

key

Shared columns as merging key.

...

Passed arguments.

Value

tableMatrix object.

Examples

1
2
3
4
5
6
7
data(images8By8)

# Create tableMatrix from images8By8
TM <- tableMatrix(images8By8, c("direction","dimX","dimY"), 4:ncol(images8By8), c(8,8))

# Merge tableMatrix object with a data.frame
merge(TM, data.frame(direction="down", flag=TRUE), key="direction")

tableMatrix documentation built on May 1, 2019, 8:42 p.m.