Multigraphs not currently supported in as.matrix.network.adjacency. R error

Viewed 20

i am learning temporal dynamic network graph with R in https://programminghistorian.org/en/lessons/temporal-network-analysis-with-r#obtaining-your-data

The dataset and codes are provided in this website.

When running following codes, met this issue.

# Render the animation and open it in a web brower
render.d3movie(
  dynamicCollabs,
  displaylabels = FALSE,
  # This slice function makes the labels work
  vertex.tooltip = function(slice) {
    paste(
      "<b>Name:</b>", (slice %v% "name"),
      "<br>",
      "<b>Region:</b>", (slice %v% "region")
    )
  }
)

Thank you!

0 Answers
Related