Description Usage Arguments Details Value

This function may either binarize an input weighted connection matrix, normalize an input weighted connection matrix or convert an input weighted connection matrix to a weighted connection-length matrix.

1 | ```
weight.conversion(W, wcm, copy = F)
``` |

`W` |
: an R Matrix - Weighted Connectivity Matrix |

`wcm` |
: a string - Weight Conversion Command |

Binarization converts all present connection weights to 1.

Normalization scales all weight magnitudes to the range [0,1] and should be done prior to computing some weighted measures, such as the weighted clustering coefficient.

Conversion of connection weights to connection lengths is needed prior to computation of weighted distance-based measures, such as distance and betweenness centrality. In a weighted connection network, higher weights are naturally interpreted as shorter lengths. The connection-lengths matrix here is defined as the inverse of the connection-weights matrix.

Options for 'wcm' param: 'binarize' : binarize weights 'normalize' : normalize weights 'lengths' : convert weights to lengths (invert matrix)

W : an R Matrix - Connectivity Matrix with specified changes

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.