Learn R Programming

dwtools (version 0.8.3.9)

CJI: Indexed cross join / filter for data.table

Description

To be used inside data.table, same as CJ function. In case of not filtering on particular fields pass TRUE value to ..., see examples in idxv.

Usage

CJI(IDX, ..., nomatch = 0)

Arguments

IDX
list generated by idxv, must be produced on the same data.table on which CJI is used.
nomatch
integer 0 or NA. Default 0 (inner join) to filter data.table.
...
values to filter data.table. For the columns to skip filtering use TRUE, see examples in idxv.

Value

Subset of data.table according to arguments passed to ....

See Also

idxv

Examples

Run this code
# see ?idxv examples

Run the code above in your browser using DataLab