Description Usage Arguments Value See Also Examples

`countPaths`

Identifies the number of paths of length
less than or equal to `maxLength`

between all pairs

1 | ```
countPaths(conf, maxLength = 2)
``` |

`conf` |
a matrix of conf.mat class.
An N-by-N conflict matrix whose |

`maxLength` |
a positive numeric integer indicating the maximum length of paths to identify |

A list in which elements are number of paths between all pairs of a given length.

`as.conflictmat`

, `findIDpaths`

, `transitivity`

, `conductance`

1 2 3 4 | ```
# convert an edgelist to conflict matrix
confmatrix <- as.conflictmat(sampleEdgelist)
# find number of paths of length 3 or less
npaths <- countPaths(confmatrix, 3)
``` |

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.