powered by
dat
isolates(dat, diag=FALSE)
West, D.B. (1996). Introduction to Graph Theory. Upper Saddle River, NJ: Prentice Hall.
is.isolate
addisolates
#Generate a test graph g<-rgraph(20) g[,4]<-0 #Create an isolate g[4,]<-0 #List the isolates isolates(g)
Run the code above in your browser using DataLab