Skip to contents

Add element to list.

Usage

add(object, x, ...)

# S4 method for class 'pmx_list,pmx_element'
add(object, x, pos = NULL)

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

# S4 method for class 'pmx_list,list'
add(object, x)

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

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

# S4 method for class 'parameters,single_array_parameter'
add(object, x)

# S4 method for class 'parameters,double_array_parameter'
add(object, x)

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

# S4 method for class 'code_record,model_statement'
add(object, x, pos = NULL)

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

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

# S4 method for class 'code_records,model_statement'
add(object, x, pos = NULL)

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

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

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

# S4 method for class 'campsis_model,model_statement'
add(object, x, pos = NULL)

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

Arguments

object

list object

x

element to add

...

extra arguments, unused by this generic list

pos

position where x needs to be added in list

Value

modified list object