sparseness: Calculate the sparseness of relationships in a sociomatrix

Description Usage Arguments Value Further details Examples

View source: R/sparseness.R

Description

Calculate the sparseness of relationships in a sociomatrix

Usage

1

Arguments

m

A matrix with individuals ordered identically in rows and columns.

Value

The sparseness of m

Further details

The sparseness of a matrix is the proportion of null dyads

Examples

1
2

Example output

[1] 0.1969697
[1] 0.05789474

compete documentation built on May 29, 2017, 1:39 p.m.