doUniqueCJ: Performs a Cross Join of Unique combinations

Description Usage Arguments Author(s)

View source: R/doUniqueCJ.R

Description

This function makes use of CJ function of the data.table package to perform a cross join. The function makes sure that the combinations are unique and removes NAs before joining. doUniqueCJ is rather not used as a standalone function but inside computeShares.

Usage

1
doUniqueCJ(dt, cols)

Arguments

dt

data.table

cols

character vector that denotes names of relevant columns

Author(s)

Matthias Bannert, Gabriel Bucur


panelaggregation documentation built on May 30, 2017, 5:25 a.m.

Search within the panelaggregation package
Search all R packages, documentation and source code