i need to make an empty graph and the R program said error
the function :
attach(quakes)
library(dplyr)
library(igraph)
empty=make_empty_graph(quakes)
layouts=as.matrix(select(quakes,lat,long))
View(layouts)
plot(empty,vertex.color=quakes$depth,vertex.size=quakes$mag, main="network of quakes")
why is it not working ? and ps how do i add a graph key ?
ty