Subset the HierarchicalPartition object

# S3 method for HierarchicalPartition
[[(x, i)

Arguments

x

A HierarchicalPartition-class object

i

Index. The value should be numeric or a node ID.

Details

On each node, there is a ConsensusPartition-class object.

Note you cannot get a sub-hierarchy of the partition.

Value

A ConsensusPartition-class object.

Examples

# There is no example
NULL
#> NULL