is.mat.onemode(mat)
is.mat.directed(mat)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.