Skip to contents

Find an element in list.

Usage

find(object, x)

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

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

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

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

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

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

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

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

# S4 method for 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