R/index.R
index.Rd
Get the index of an object using modulo
index(x, n)
A vector or list
A numeric vector of indices
A numeric index