Description Usage Arguments Details Value Author(s) References See Also Examples

Returns TRUE iff ego is an isolate in graph `g`

of `dat`

.

1 | ```
is.isolate(dat, ego, g=1, diag=FALSE)
``` |

`dat` |
one or more input graphs. |

`ego` |
index of the vertex (or a vector of vertices) to check. |

`g` |
which graph(s) should be examined? |

`diag` |
boolean indicating whether adjacency matrix diagonals (i.e., loops) contain meaningful data. |

In the valued case, any non-zero edge value is taken as sufficient to establish a tie.

A boolean value (or vector thereof) indicating isolate status

Carter T. Butts [email protected]

Wasserman, S., and Faust, K. (1994). *Social Network Analysis: Methods and Applications.* Cambridge: Cambridge University Press.

West, D.B. (1996). *Introduction to Graph Theory*. Upper Saddle River, NJ: Prentice Hall.

1 2 3 4 5 6 7 8 | ```
#Generate a test graph
g<-rgraph(20)
g[,4]<-0 #Create an isolate
g[4,]<-0
#Check for isolates
is.isolate(g,2) #2 is almost surely not an isolate
is.isolate(g,4) #4 is, by construction
``` |

sna documentation built on May 30, 2017, 12:18 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.