find: Find an element in list.

View source: R/generic_list.R

findR Documentation

Find an element in list.

Description

Find an element in list.

Usage

find(object, x)

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

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

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

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

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

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

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

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

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


campsismod documentation built on Oct. 12, 2023, 5:13 p.m.