binarize: Binarize Network

binarizeR Documentation

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 adjacency matrix of 1's and 0's

Author(s)

Alexander Christensen <alexpaulchristensen@gmail.com>

Examples

# Pearson's correlation only for CRAN checks
A <- TMFG(neoOpen, normal = FALSE)$A

neoB <- binarize(A)


AlexChristensen/NetworkToolbox documentation built on March 6, 2023, 5:08 p.m.