get_index: Get the index of obect(s) in a vector

Description Usage Arguments Examples

Description

Get the index of obect(s) in a vector

Usage

1
get_index(x, vec)

Arguments

x

Object for which the index will be retrieved

vec

Vector against which x will be indexed

Examples

1
2
get_index(2, 2:10)
get_index("q", letters)

inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.