Merges one basin into another within a basin_cx object by updating
vertices, labels, and the corresponding cell complex.
Usage
# S3 method for class 'cx.merge'
basin(object, absorbing.label, absorbed.label, basin_cx = object, ...)Arguments
- object
An object of class
basin_cx, as returned bycreate.basin.cx().- absorbing.label
Label of the basin that will absorb another (e.g., "m1", "M2").
- absorbed.label
Label of the basin to be absorbed (must be same type as
absorbing.label).- basin_cx
Backward-compatible alias for
object.- ...
Additional arguments (ignored).