3
I’m using the library igraph
to create two graphs in R:
g.v1 <- graph.full(6, directed= TRUE)
E(g.v1)$weight <- 1
g.merchant <- graph.empty(1, directed=TRUE)
E(g.merchant)$weight <- 1
These two graphs, g.v1
and g.merchant
, are disjoint. I would like to connect the graph g.merchant
, which has only 1 vertex, with Qalquer one of the 6 vertices of the graph g.v1
. The new graph will have 7 vertices. How do I do this ?
Perfect guy. Thank you so much!
– Fillipe
If the answer helped you, please vote for it and accept it. So other users of the site can benefit if they have the same question.
– Marcus Nunes