is.mat.onemode: Check whether a matrix is one-mode or directed

Description Usage Arguments Details

View source: R/preprocess.R

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

1
2
3

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.


leifeld/xergm.common documentation built on April 10, 2020, 10:20 a.m.