shorthand for converting dimnames to indices, for easier column subtraction
.i(x, dim, ...)
x
an object with dimnames<- defined
dim
the dimension to index
...
names selected by which