optional list of character dimnames(.).
If useNames is true, to be used for constructing dimnames for
arrayInd() (and hence, which(*, arr.ind=TRUE)).
If names(.dimnames) is not empty, these are used as
column names. .dimnames[[1]] is used as row names.
useNames
logical indicating if the value of arrayInd()
should have (non-null) dimnames at all.