Learn R Programming

genpathmox (version 0.6)

indexify: Create indices for elements in a vector or list

Description

Create indices for elements in a vector or list

Usage

indexify(x, out)

Arguments

x

a numeric vector or list of vectors

out

string indicating the output format ("vector" or "list")

Value

A vector (or list) of indexed numbers

Details

Internal function.