Skip to contents

Get element by index.

Usage

get_by_index(object, x)

# S4 method for class 'pmx_list,integer'
get_by_index(object, x)

# S4 method for class 'pmx_list,numeric'
get_by_index(object, x)

# S4 method for class 'compartment_properties,compartment_property'
get_by_index(object, x)

# S4 method for class 'parameters,parameter'
get_by_index(object, x)

Arguments

object

list object

x

element index

Value

element from the list whose index matches with provided index