The bimbalance function checks the imbalances of all present item combinations in the data in terms of side (R: right, L:left). It counts the cases on each side and also calculates a ratio (RL_ratio = R/L).

bimbalance(dat = NULL, sidevar = "sideA")

Arguments

dat

raw data (e.g., from the bimload function)

sidevar

the actual column name of the side variable in the raw data (must be coded "right" or "left")

Value

data.frame R/L counts and the RL_ratio