shorthand for converting dimnames to indices, for easier column subtraction
.i(x, dim, ...)
x
dim
...
Useful links