reciprocated: Tie reciprocity

Description Usage Arguments Value

View source: R/network_utils.R

Description

Creates a vector of the same length as an edge list indicating whether each tie is reciprocated

Usage

1

Arguments

x

numeric or integer matrix of two columns (can also be a data.table/data.frame)

Value

length nrow(x) vector of zeros (not reciprocated) and ones (reciprocated)


baruuum/btoolbox documentation built on Aug. 17, 2020, 1:29 a.m.