computeBalance {panelaggregation}R Documentation

Compute Balances from a Item Shares

Description

This function computes balances (i.e. positive - negative items), from item shares stored in a wide format data.table.

Usage

computeBalance(data_table, multipliers = list(item_pos = 1, item_eq = 0,
  item_neg = -1))

Arguments

data_table

a data.table in wide format containing item

multipliers

list containing multipliers of items, assigned by item and column names

Author(s)

Matthias Bannert, Gabriel Bucu


[Package panelaggregation version 0.1.1 Index]