Skip to contents

Get the index of an object using modulo

Usage

index(x, n)

Arguments

x

A vector or list

n

A numeric vector of indices

Value

A numeric index