why my empty graph dose not working ?

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

2 posts were merged into an existing topic: need help with social network empty graph