问题
I want to delete all edges that link to node '1' but the function delete.edges doesn't work:
g<-graph.full(n=10, directed = TRUE, loops = FALSE)
g <- delete.edges(g,c(2,1,3,1,4,1,5,1,6,1))
plot(g)
When viewing the graph, nothing changes! what is the problem ?
来源:https://stackoverflow.com/questions/35040517/delete-edges-doesnt-work-in-igraph