Skip to contents

Get only the (internal) node elements of a pfc

Usage

pf_nodes(x)

Arguments

x

A pfc object

Value

A pfc object with only internal node elements

Examples

pf_nodes(rpfc(100))
#> <pfc<e:198>[98]>
#> First  10 phylogenetic flows: 
#> [1] ◎── 0.93──→ Node2 
#> 
#> [2] ◎──0.929──→ Node2 ──0.057──→ Node3 
#> 
#> [3] ◎──0.929──→ Node2 ──0.057──→ Node3 ──0.250──→ Node4 
#> 
#> [4] ◎──0.929──→ Node2 ──0.057──→ Node3 ──0.250──→ Node4 ──0.024──→ Node5 
#> 
#> [5] ◎──0.929──→ Node2 ──0.057──→ Node3 ──0.250──→ Node4 ──0.039──→ Node6 
#> 
#> [6] ◎── 0.93──→ Node2 ── 0.35──→ Node7 
#> 
#> [7] ◎──  1.3──→ Node8 
#> 
#> [8] ◎──1.32664──→ Node8 ──0.00051──→ Node9 
#> 
#> [9] ◎──0.929──→ Node2 ──0.057──→ Node3 ──0.250──→ Node4 ──0.039──→ Node6 ──0.117──→ Node10 
#> 
#> [10] ◎──0.929──→ Node2 ──0.057──→ Node3 ──0.413──→ Node11