MultiIndex: MultiIndex

Description Usage Arguments Value

View source: R/MultiIndex.R

Description

A kudgey way of constructing a multi-element key as a character vector.

Usage

 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, ...)

Arguments

x

vector

collapse

(optional) separator

format

(optional) additional method for formatting (provided with MultiIndex is called through apply(), for instance)

Value

A character vector.


stakahama/Rfunctools documentation built on June 8, 2021, 10:25 p.m.