autofix: Autofix

Description Usage Arguments Value

View source: R/Utility.R

Description

Fix a bunch of common problems. More specifically, remove Inf and NaN, ensure exact binariness and symmetry (i.e. remove floating point instability), and zero diagonal.

Usage

1
autofix(W, copy = F)

Arguments

W

: an R matrix - weighted connectivity matrix

copy

: boolean

Value

W : an R matrix - autofixed weighted connectivity matrix


ncullen93/bctR documentation built on May 23, 2017, 11:35 a.m.