net.density: A generalized function to calculate network densities

Description Usage Arguments Value

Description

This function calculates network densities of either two-mode observational matrices or association matrices.

Usage

1
net.density(x, type = "weighted")

Arguments

x

either a two-mode observational matrix or an association matrix

type

One of either "weighted" (default) or "twomode" indicating what kind of matrix x is

Value

A singular value equal to the density of the matrix.


thom82/whassocr documentation built on May 31, 2019, 10:46 a.m.