Skip to contents

Get edges and positions along edges where a set of epoch times intersect

Usage

pf_epoch_info(x, times)

Arguments

x

An object of class pfc

times

A vector of epoch times to slice the pfc along

Value

A tibble with edge labels in the first column and position in the second column

Examples

pf_epoch_info(rpfc(100), c(1, 2, 3))
#> Warning: Some times are outside the range of zero to the maximum length of the phyf ({max_len}), these elements will be NULL in the return value
#>      edge     position
#> 1     t15 0.0699466143
#> 2     t98 0.4006508314
#> 3     t43 0.0005636297
#> 4     t50 0.0005636297
#> 5     t97 0.0216082209
#> 6  Node25 0.0109509509
#> 7  Node26 0.0841995623
#> 8  Node27 0.0178534052
#> 9  Node30 0.1272124287
#> 10 Node32 0.0005701219
#> 11 Node33 0.0032094986
#> 12 Node34 0.0006154222
#> 13 Node35 0.0581254439
#> 14 Node36 0.0005701219
#> 15 Node42 0.0032094986
#> 16 Node44 0.0380591352
#> 17 Node46 0.3147537214
#> 18 Node48 0.1272124287
#> 19 Node53 0.0129181811
#> 20 Node59 0.0129181811
#> 21 Node62 0.0178534052
#> 22 Node66 0.0214109577
#> 23 Node72 0.3147537214
#> 24 Node75 0.0006154222
#> 25 Node97 0.0109509509