Description Usage Arguments Value See Also Examples
findAllPaths
Identifies all paths length less than or equal
to maxLength
between all pairs of competitors
1 | findAllPaths(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 of two elements.
direct pathways |
direct pathways found in original matrix |
indirect pathways |
a list of all paths from length 2 to the given length |
countPaths
findIDpaths
transitivity
1 2 3 4 | # convert an edgelist to conflict matrix
confmatrix <- as.conflictmat(sampleEdgelist)
# find all paths of legnth 3
allp.3 <- findAllPaths(confmatrix, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.