# Tools for Social Network Analysis

## Documentation for package `sna' version 1.1

## Help Pages

A B C D E G H I L M N P Q R S T U W

%c% | Graphical Operators

## -- A --

add.isolates | Add Isolates to a Graph

## -- B --

bbnam | Butts' (Hierarchical) Bayesian Network Accuracy Model
bbnam.bf | Estimate Bayes Factors for the bbnam
bbnam.fixed | Butts' (Hierarchical) Bayesian Network Accuracy Model
bbnam.pooled | Butts' (Hierarchical) Bayesian Network Accuracy Model
betweenness | Compute the Betweenness Centrality Scores of Network Positions
blockmodel | Generate Blockmodels Based on Partitions of Network Positions
blockmodel.expand | Generate a Graph (or Stack) from a Given Blockmodel Using Particular Expansion Rules
bn | Fit a Biased Net Model
bn.nlpl.dyad | Fit a Biased Net Model
bn.nlpl.edge | Fit a Biased Net Model
bn.nlpl.triad | Fit a Biased Net Model
bn.nltl | Fit a Biased Net Model
bonpow | Find Bonacich Power Centrality Scores of Network Positions
brokerage | Perform a Gould-Fernandez Brokerage Analysis

## -- C --

centralgraph | Find the Central Graph of a Labeled Graph Stack
centralization | Find the Centralization of a Given Network, for Some Measure of Centrality
closeness | Compute the Closeness Centrality Scores of Network Positions
coef.bn | Fit a Biased Net Model
coef.lnam | Fit a Linear Network Autocorrelation Model
component.dist | Calculate the Component Size Distribution of a Graph
components | Find the Number of (Maximal) Components Within a Given Graph
connectedness | Compute Graph Connectedness Scores
consensus | Estimate a Consensus Structure from Multiple Observations
cugtest | Perform Conditional Uniform Graph (CUG) Hypothesis Tests for Graph-Level Indices

## -- D --

degree | Compute the Degree Centrality Scores of Network Positions
diag.remove | Remove the Diagonals of Adjacency Matrices in a Graph Stack
dyad.census | Compute a Holland and Leinhardt MAN Dyad Census

## -- E --

efficiency | Compute Graph Efficiency Scores
equiv.clust | Find Clusters of Positions Based on an Equivalence Relation
eval.edgeperturbation | Compute the Effects of Single-Edge Perturbations on Structural Indices
evcent | Find Eigenvector Centrality Scores of Network Positions
event2dichot | Convert an Observed Event Matrix to a Dichotomous matrix

## -- G --

gapply | Apply Functions Over Vertex Neighborhoods
gclust.boxstats | Plot Statistics Associated with Graph Clusters
gclust.centralgraph | Get Central Graphs Associated with Graph Clusters
gcor | Find the (Product-Moment) Correlation Between Two or More Labeled Graphs
gcov | Find the Covariance(s) Between Two or More Labeled Graphs
gden | Find the Density of a Graph
gdist.plotdiff | Plot Differences in Graph-level Statistics Against Inter-graph Distances
gdist.plotstats | Plot Various Graph Statistics Over a Network MDS
geodist | Fund the Numbers and Lengths of Geodesics Among Nodes in a Graph
gliop | Return a Binary Operation on GLI Values Computed on Two Graphs
gplot | Two-Dimensional Visualization of Graphs
gplot.arrow | Add Arrows or Segments to a Plot
gplot.layout | Vertex Layout Functions for gplot
gplot.loop | Add Loops to a Plot
gplot.target | Display a Graph in Target Diagram Form
gplot.vertex | Add Vertices to a Plot
gplot3d | Three-Dimensional Visualization of Graphs
gplot3d.arrow | Add Arrows a Three-Dimensional Plot
gplot3d.layout | Vertex Layout Functions for gplot3d
gplot3d.loop | Add Loops to a Three-Dimensional Plot
graphcent | Compute the (Harary) Graph Centrality Scores of Network Positions
grecip | Compute the Reciprocity of an Input Graph or Graph Stack
gscor | Find the Structural Correlations Between Two or More Graphs
gscov | Find the Structural Covariance(s) Between Two or More Graphs
gtrans | Compute the Transitivity of an Input Graph or Graph Stack
gvectorize | Vectorization of Adjacency Matrices

## -- H --

hdist | Find the Hamming Distances Between Two or More Graphs
hierarchy | Compute Graph Hierarchy Scores

## -- I --

infocent | Find Information Centrality Scores of Network Positions
interval.graph | Convert Spell Data to Interval Graphs
is.connected | Is a Given Graph Connected?
is.isolate | Is Ego an Isolate?
isolates | List the Isolates in a Graph or Graph Stack

## -- L --

lab.optimize | Optimize a Bivariate Graph Statistic Across a Set of Accessible Permutations
lnam | Fit a Linear Network Autocorrelation Model
lower.tri.remove | Remove the Lower Triangles of Adjacency Matrices in a Graph Stack
lubness | Compute Graph LUBness Scores

## -- M --

make.stochastic | Make a Graph Stack Row, Column, or Row-column Stochastic
mutuality | Find the Mutuality of a Graph

## -- N --

netcancor | Canonical Correlation for Labeled Graphs
netlm | Linear Regression for Network Data
netlogit | Logistic Regression for Network Data
npostpred | Take Posterior Predictive Draws for Functions of Networks
nties | Find the Number of Possible Ties in a Given Graph or Graph Stack
numperm | Get the nth Permutation Vector by Periodic Placement

## -- P --

plot.bbnam | Plotting for bbnam Objects
plot.blockmodel | Plotting for blockmodel Objects
plot.bn | Fit a Biased Net Model
plot.cugtest | Plotting for cugtest Objects
plot.equiv.clust | Plot an equiv.clust Object
plot.lnam | Plotting for lnam Objects
plot.qaptest | Plotting for qaptest Objects
plot.sociomatrix | Plot Matrices Using a Color/Intensity Grid
potscalered.mcmc | Compute Gelman and Rubin's Potential Scale Reduction Measure for a Markov Chain Monte Carlo Simulation
prestige | Calculate the Vertex Prestige Scores
print.bayes.factor | Printing for Bayes Factor Objects
print.bbnam | Printing for bbnam Objects
print.blockmodel | Printing for blockmodel Objects
print.bn | Fit a Biased Net Model
print.cugtest | Printing for cugtest Objects
print.equiv.clust | Find Clusters of Positions Based on an Equivalence Relation
print.lnam | Printing for lnam Objects
print.netcancor | Printing for netcancor Objects
print.netlm | Printing for netlm Objects
print.netlogit | Printing for netlogit Objects
print.qaptest | Printing for qaptest Objects
print.summary.bayes.factor | Printing for summary.bayes.factor Objects
print.summary.bbnam | Printing for summary.bbnam Objects
print.summary.blockmodel | Printing for summary.blockmodel Objects
print.summary.bn | Fit a Biased Net Model
print.summary.brokerage | Perform a Gould-Fernandez Brokerage Analysis
print.summary.cugtest | Printing for summary.cugtest Objects
print.summary.lnam | Printing for summary.lnam Objects
print.summary.netcancor | Printing for summary.netcancor Objects
print.summary.netlm | Printing for summary.netlm Objects
print.summary.netlogit | Printing for summary.netlogit Objects
print.summary.qaptest | Printing for summary.qaptest Objects
pstar | Fit a p*/ERG Model Using a Logistic Approximation

## -- Q --

qaptest | Perform Quadratic Assignment Procedure (QAP) Hypothesis Tests for Graph-Level Statistics

## -- R --

reachability | Find the Reachability Matrix of a Graph
read.dot | Read Graphviz DOT Files
read.nos | Read (N)eo-(O)rg(S)tat Input Files
rewire.ud | Draw From the Watts-Strogatz Rewiring Model
rewire.ws | Draw From the Watts-Strogatz Rewiring Model
rgbn | Draw from a Skvoretz-Fararo Biased Net Process
rgnm | Draw Density-Conditioned Random Graphs
rgraph | Generate Bernoulli Random Graphs
rguman | Draw Dyad Census-Conditioned Random Graphs
rgws | Draw From the Watts-Strogatz Rewiring Model
rmperm | Randomly Permute the Rows and Columns of an Input Matrix
rperm | Draw a Random Permutation Vector with Exchangeability Constraints

## -- S --

sdmat | Estimate the Structural Distance Matrix for a Graph Stack
se.lnam | Fit a Linear Network Autocorrelation Model
sedist | Find a Matrix of Distances Between Positions Based on Structural Equivalence
sna | Tools for Social Network Analysis
sna-deprecated | Deprecated Functions in sna Package
sna.operators | Graphical Operators
sr2css | Convert a Row-wise Self-Report Matrix to a CSS Matrix with Missing Observations
stackcount | How Many Graphs are in a Graph Stack?
stresscent | Compute the Stress Centrality Scores of Network Positions
structdist | Find the Structural Distances Between Two or More Graphs
structure.statistics | Compute Network Structure Statistics
summary.bayes.factor | Detailed Summaries of Bayes Factor Objects
summary.bbnam | Detailed Summaries of bbnam Objects
summary.blockmodel | Detailed Summaries of blockmodel Objects
summary.bn | Fit a Biased Net Model
summary.brokerage | Perform a Gould-Fernandez Brokerage Analysis
summary.cugtest | Detailed Summaries of cugtest Objects
summary.lnam | Detailed Summaries of lnam Objects
summary.netcancor | Detailed Summaries of netcancor Objects
summary.netlm | Detailed Summaries of netlm Objects
summary.netlogit | Detailed Summaries of netlogit Objects
summary.qaptest | Detailed Summaries of qaptest Objects
symmetrize | Symmetrize an Adjacency Matrix

## -- T --

triad.census | Compute the Davis and Leinhardt Triad Census
triad.classify | Compute the Davis and Leinhardt Classification of a Given Triad

## -- U --

upper.tri.remove | Remove the Upper Triangles of Adjacency Matrices in a Graph Stack

## -- W --

write.dl | Write Output Graphs in DL Format
write.nos | Write Output Graphs in (N)eo-(O)rg(S)tat Format