Learn R Programming

arrayhelpers (version 1.1-0)

numericindex: 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