# NOT RUN {
test <- data.frame(id1 = c("A","B","B","C","C"),
id2 = c("I","G","I","G","H"))
as_matrix(test)
test <- data.frame(id1 = c("A","B","B","C","C"),
id2 = c("I","G","I","G","H"))
as_igraph(test)
test <- data.frame(id1 = c("A","B","B","C","C"),
id2 = c("I","G","I","G","H"))
as_tidygraph(test)
test <- data.frame(id1 = c("A","B","B","C","C"),
id2 = c("I","G","I","G","H"))
as_network(test)
# }
Run the code above in your browser using DataLab