View source: R/helper_bill_crosscompare.R
bill_cross_count | R Documentation |
bill_cross_count
returns a data.table showing how many times each
items being listed on individual bills.
bill_cross_count(
ldt = list(),
id = NULL,
gp = NULL,
type = "count",
condstr = ""
)
ldt |
A list of grocery tables in data.frame format. |
id |
A column name |
gp |
A column name or a vector of column names |
type |
A string in one of the following:
|
condstr |
A string for conditional counting |
a data.table
bill_cross_count(list(cbind(col1=c('a','b','c'),col2=c(1,2,3)),
cbind(col1=c('d','c','d'),col2=c(4,5,6))), id='col1')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.