All the vertex attributes are preserved. Additionally, edge attributes are supported, so if custom kernels are written which utilize these later i.e. weighted edges, toggle-able edges etc., the current framework does not eed to change.
ev
The events object which can be plugged directly into fit_hawkesNet().
str(sim$ev)
List of 3
$ times:'data.frame': 110 obs. of 2 variables:
..$ event_id: int [1:110] 1 2 3 4 5 6 7 8 9 10 ...
..$ t : num [1:110] 0.151 0.178 0.254 0.534 0.784 ...
$ nodes:'data.frame': 110 obs. of 2 variables:
..$ event_id: int [1:110] 1 2 3 4 5 6 7 8 9 10 ...
..$ id : chr [1:110] "1" "2" "3" "4" ...
$ edges:'data.frame': 121 obs. of 3 variables:
..$ event_id: int [1:121] 2 3 3 5 6 7 7 8 9 9 ...
..$ i : chr [1:121] "1" "1" "2" "2" ...
..$ j : chr [1:121] "2" "3" "3" "5" ...
- attr(*, "class")= chr [1:2] "events" "list"