diffnet_to_igraph(graph, slices = 1:nslices(graph))
igraph_to_diffnet(graph, toavar, t0 = NULL, t1 = NULL, ...)
as_diffnet
.as_diffnet
.as_diffnet
.length(slices)
igraph
(diffnet_to_igraph
), or a diffnet
object (igraph_to_diffnet
)
objects.
netdiffuseR-graphs
,
read_pajek
, read_ucinet_head
# Reading the meddical innovation data into igraph --------------------------
x <- diffnet_to_igraph(medInnovationsDiffNet)
# Fetching the times of adoption
igraph::vertex_attr(x[[1]], "toa")
Run the code above in your browser using DataLab