Learn R Programming

campsismod (version 1.4.0)

get_by_index: Get element by index.

Description

Get element by index.

Usage

get_by_index(object, x)

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

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

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

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

Value

element from the list whose index matches with provided index

Arguments

object

list object

x

element index