| is.mat.onemode {xergm.common} | R Documentation |
Check whether a matrix is one-mode or directed
Description
Check whether a matrix represents a one-mode network (as opposed to a two-mode network) and whether a network represented by a matrix is directed (as opposed to undirected).
Usage
is.mat.onemode(mat)
is.mat.directed(mat)
Arguments
mat |
A matrix object containing zeros and ones. |
Details
The is.mat.onemode function returns TRUE if the input matrix mat represents a one-mode network and FALSE otherwise.
The is.mat.directed function returns TRUE if the input matrix mat represents a directed network and FALSE otherwise.
[Package xergm.common version 1.7.8 Index]