make.wide.format: Convert a 3-column data.frame into a matrix

Description Usage Arguments Value

Description

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

Usage

1

Arguments

x

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.

Value

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


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