powered by
Convert character or logical indices to numeric
numericindex(x, i, n = names(x))
the object that is to be indexed
the indices to be converted
names of the object
numeric indices