binarize {NetworkToolbox}R 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)


[Package NetworkToolbox version 1.4.2 Index]