Learn R Programming

RstoxData (version 1.2.0)

mergeByStoxKeys: Merge two data tables by StoX keys

Description

Merge two data tables by StoX keys

Usage

mergeByStoxKeys(x, y, StoxDataType, toMergeFromY = NULL, replace = FALSE, ...)

Arguments

x, y

Data tables of class data.table.

StoxDataType

Input data type. Text string of StoxBiotic or StoxAcoustic.

toMergeFromY

Specify key columns from y. NULL means all similarly named columns from x and y will be merged. Default to NULL.

replace

Whether to replace the variables in the target. Default to FALSE.

...

Extra parameters that will be passed into merge.

Value

A merged data table.