individualDomProb {Perc}R Documentation

individual-level probability converter

Description

individualDomProb convert win-loss probability matrix into long format for each dyad

Usage

individualDomProb(matrix)

Arguments

matrix

the win-loss matrix which is the second output from conductance.

Value

a dataframe. Averaging probability of win-loss relationship with all other individuals.

See Also

conductance, valueConverter, dyadicLongConverter

Examples

# convert an edgelist to conflict matrix
confmatrix <- as.conflictmat(sampleEdgelist)
# find win-loss probability matrix
perm2 <- conductance(confmatrix, 2)
perm2$imputed.conf
perm2$p.hat
individualLevelOutput <- individualDomProb(perm2$p.hat)

[Package Perc version 0.1.6 Index]