In ?setindexv we see:
|
\item{cols}{ A character vector of column names. For \code{setindexv}, this can be a \code{list} of character vectors, in which case each element will be applied as an index in turn. } |
I would like an example of how exactly that should be specified, but there are none in Examples.