Description Usage Arguments Value See Also Examples
findIDpaths
identifies all unique win-loss pathways of order (len - 1) beginning at selected ID
1 | findIDpaths(conf, ID, len = 2)
|
conf |
a matrix of conf.mat class. An N-by-N conflict matrix whose |
ID |
a numeric or character vector of length 1. It specifys the subject at the beginning of each pathway. |
len |
a positive integer of length 1 greater than 2. the length of the win-loss paths to be identified (len = order + 1) |
return all win-loss paths of length(len)
beginning at ID
as.conflictmat
, findAllPaths
, countPaths
1 2 | confmatrix <- as.conflictmat(sampleEdgelist)
path38891 <- findIDpaths(confmatrix, ID = "Kuai", len = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.