Skip to contents

Get the union of vertices from specified basins in a basin complex.

Usage

# S3 method for class 'union'
basins(object, ids, x = object, ...)

Arguments

object

An object of class "basin_cx" returned by create.basin.cx().

ids

Character vector of basin labels (e.g., c("M1", "m2", "M3")).

x

Backward-compatible alias for object.

...

Additional arguments (ignored).

Value

An integer vector of vertex indices contained in the union of the specified basins.