Description Usage Arguments Value Author(s) Examples
View source: R/Rfun_readJudgePresenterMatrix.R
Convert a judge-presenter matrix to a set of square matrices
1 | readJudgePresenterMatrix(jpMat)
|
jpMat |
a Judge-Presenter matrix, or a User-Movie matrix |
A list, including numGame
numGame
: Number of times teams i and j faced eath other
numWin
: Number of wins teams i plays against j
numTie
: Number of ties teams i plays against j
numLoss
: Number of losses teams i plays against j
numPt
: Number of points teams i accumulates against j
Jiangtao Gou
Shuyi Wu
1 2 3 4 |
$numGame
[,1] [,2] [,3] [,4]
[1,] 0 2 2 3
[2,] 2 0 2 1
[3,] 2 2 0 1
[4,] 3 1 1 0
$numWin
[,1] [,2] [,3] [,4]
[1,] 0 1 2 2
[2,] 0 0 2 1
[3,] 0 0 0 1
[4,] 1 0 0 0
$numTie
[,1] [,2] [,3] [,4]
[1,] 0 1 0 0
[2,] 1 0 0 0
[3,] 0 0 0 0
[4,] 0 0 0 0
$numLoss
[,1] [,2] [,3] [,4]
[1,] 0 0 0 1
[2,] 1 0 0 0
[3,] 2 2 0 0
[4,] 2 1 1 0
$numPt
[,1] [,2] [,3] [,4]
[1,] 0 10 10 10
[2,] 9 0 9 5
[3,] 6 6 0 3
[4,] 8 1 1 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.