Description Usage Arguments Value
A kudgey way of constructing a multi-element key as a character vector.
1 2 3 4 5 6 7 8 9 10 11 12 13 | MultiIndex(x, ...)
## Default S3 method:
MultiIndex(x, collapse = ", ", format = identity)
## S3 method for class 'matrix'
MultiIndex(x, ...)
## S3 method for class 'data.frame'
MultiIndex(x, ...)
## S3 method for class 'list'
MultiIndex(x, ...)
|
x |
vector |
collapse |
(optional) separator |
format |
(optional) additional method for formatting (provided with MultiIndex is called through apply(), for instance) |
A character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.