Generic function to add a suffix to various objects like parameters, code records, compartment names or a model (all previous objects at the same time). This makes it an extremely powerful function to combine 2 models or more (using function 'add'), that have similar equation, parameter or compartment names.
Source:R/model_add_suffix.R
addSuffix.Rd
Generic function to add a suffix to various objects like parameters, code records, compartment names or a model (all previous objects at the same time). This makes it an extremely powerful function to combine 2 models or more (using function 'add'), that have similar equation, parameter or compartment names.
Usage
addSuffix(object, suffix, separator = NULL, ...)
# S4 method for class 'parameters,character,character'
addSuffix(object, suffix, separator = NULL, ...)
# S4 method for class 'code_records,character,character'
addSuffix(object, suffix, separator = NULL, ...)
# S4 method for class 'code_record,character,character'
addSuffix(object, suffix, separator = NULL, ...)
# S4 method for class 'compartments,character,character'
addSuffix(object, suffix, separator = NULL, ...)
# S4 method for class 'campsis_model,character,character'
addSuffix(object, suffix, separator = NULL, ...)