smaa.pwi | R Documentation |
Calculate SMAA pair-wise winning indices from sampled rankings.
smaa.pwi(ranks)
ranks |
An |
An m \times m
matrix of pair-wise winning indices. The
index at (i, j) describes the share of samples for which alternative i
has a better (lower) rank than alternative j.
Tommi Tervonen
smaa.ranks
N <- 1E4; m <- 2; n <- 3
meas <- dget(system.file("extdata/thrombo-meas.txt.gz", package="smaa"))
pref <- dget(system.file("extdata/thrombo-weights-nopref.txt.gz", package="smaa"))
# Calculate pair-wise winning indices
values <- smaa.values(meas, pref)
ranks <- smaa.ranks(values)
pwi <- smaa.pwi(ranks)
print(pwi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.