Description Usage Arguments Value Examples
View source: R/Visualization.R
Creates pairwise matrices to compare inference results with the empirical pairwise probabilities
1 2 | Visualization.Pairwise.Probabilities(Data.pairs, Parameters, get.pairwise.prob,
name.of.method)
|
Data.pairs |
datas broken into pairs |
Parameters |
The Parameter element of a result from an Estimation function |
get.pairwise.prob |
function that we use to generate the pairwise probability of beating |
name.of.method |
names of the alternatives |
none
1 2 3 4 5 6 7 | library(ggplot2)
library(gridExtra)
data(Data.Test)
Data.Test.pairs <- Breaking(Data.Test, "full")
Parameters <- Estimation.PL.GMM(Data.Test.pairs, 5)$Parameters
PL.Pairwise.Prob <- function(a, b) a$Mean / (a$Mean + b$Mean)
Visualization.Pairwise.Probabilities(Data.Test.pairs, Parameters, PL.Pairwise.Prob, "PL")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.