R: Convert character or logical indices to numeric

numericindex {arrayhelpers} | R Documentation

## Convert character or logical indices to numeric

### Description

Convert character or logical indices to numeric

### Usage

    numericindex(x, i, n = names(x))

### Arguments

`x` | the object that is to be indexed
`i` | the indices to be converted
`n` | names of the object

### Value

numeric indices

### Author(s)

Claudia Beleites

[Package arrayhelpers version 1.0-20160527 Index]