threshold.proportional: Threshold Proportional

Description Usage Arguments Details Value

Description

This function "thresholds" the connectivity matrix by preserving a proportion p (0<p<1) of the strongest weights. All other weights, and all weights on the main diagonal (self-self connections) are set to 0.

Usage

1

Arguments

W

: an R Matrix - Weighted Connectivity Matrix

p

: a float - Proportional Weight Threshold

copy

: a boolean - Whether to modify in place or not

Details

Note: For data w/ negative numbers, we consider Absolute Value of weights.

Value

W : Threshold Connectivity Matrix


ncullen93/bctR documentation built on May 23, 2019, 1:28 p.m.