Skip to contents

Add element to list.

Usage

add(object, x, ...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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