merge.tableList {tableMatrix}R Documentation

Merging tableList

Description

Merging tableList

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

Usage

## 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


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")


[Package tableMatrix version 0.82.0 Index]