make.long.format: Convert a matrix of pairwise associations into a 3-column...

Description Usage Arguments Value

Description

Convert from 'wide' format (matrix with names rows and cols) to 'long' format (3-column data.frame). See make.wide.format for the reverse.

Usage

1

Arguments

x

a matrix containing the value of the association function between each pair of nodes

Value

Returns a data.frame, in which the first two columns (character) give the names of each pair of nodes, and the third (numeric or integer) gives the degree of association between those nodes.


mjwestgate/sppairs documentation built on May 23, 2019, 1:05 a.m.