dyadicLongConverter: dyadic long format converter

Description Usage Arguments Details Value See Also Examples

View source: R/conductance.R

Description

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

Usage

1

Arguments

matrix

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

Details

values on the diagonal of the matrix are not included in the converted long-format data.

Value

a dataframe of dyadic level win-loss probability and ranking certainty.

See Also

conductance, valueConverter, individualDomProb

Examples

1
2
3
4
5
6
7
# 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
dl <- dyadicLongConverter(perm2$p.hat)

Perc documentation built on April 28, 2020, 1:08 a.m.