Description Usage Arguments Author(s)
This function computes balances (i.e. positive - negative items), from item shares stored in a wide format data.table.
1 2 | computeBalance(data_table, multipliers = list(item_pos = 1, item_eq = 0,
item_neg = -1))
|
data_table |
a data.table in wide format containing item |
multipliers |
list containing multipliers of items, assigned by item and column names |
Matthias Bannert, Gabriel Bucu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.