Learn R Programming

NetworkToolbox (version 1.1.2)

binarize: Binarize Network

Description

Converts weighted adjacency matrix to a binarized adjacency matrix

Usage

binarize(A)

Arguments

A

An adjacency matrix of network data (or an array of matrices)

Value

Returns an adjancency matrix of 1's and 0's

Examples

Run this code
# NOT RUN {
net<-TMFG(neoOpen)$A

psyb<-binarize(net)
# }

Run the code above in your browser using DataLab