Learn R Programming

arrayhelpers (version 0.75-20111128)

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
n
names of the object
i
the indices to be converted

Value

  • numeric indices