ind {FastUtils}R Documentation

Get Index from Enumerated Element

Description

This function extracts the index from an enumerated element.

Usage

ind(elem)

Arguments

elem

An enumerated element.

Value

The index of the enumerated element.

See Also

enumerateit()

Examples

# Extract index from an enumerated element
elem <- list(1, "a")
ind(elem)

[Package FastUtils version 0.1.1 Index]