Skip to contents

Find an element in list.

Usage

find(object, x)

# S4 method for class 'pmx_list,pmx_element'
find(object, x)

# S4 method for class 'compartments,compartment_property'
find(object, x)

# S4 method for class 'statements_record,model_statement'
find(object, x)

# S4 method for class 'code_records,model_statement'
find(object, x)

# S4 method for class 'campsis_model,compartment'
find(object, x)

# S4 method for class 'campsis_model,compartment_property'
find(object, x)

# S4 method for class 'campsis_model,parameter'
find(object, x)

# S4 method for class 'campsis_model,code_record'
find(object, x)

# S4 method for class 'campsis_model,model_statement'
find(object, x)

Arguments

object

list object

x

element to find, only key slots need to be filled in

Value

the element from the list that has same name as x, or NULL if no element was found