Description Usage Arguments Details Author(s) References Examples
View source: R/Rfun_offdefsc.R
Calculate ratings and provide rankings using Kleinberg's HITS algorithm, using a square matrix for score matrix (presenterpresenter)
1 2 3 4 5 6 7 8  offdefsc(
jpMat,
method = "hitspp",
totalsupporteps = 0,
totalsupporttype = 1,
numiter = 100,
ties.method = "average"
)

jpMat 
a JudgePresenter matrix, or a UserMovie matrix 
method 
a character string specifying the HITS algorithm, including "hitspp". 
totalsupporteps 
a small number to guarantee the total support property 
totalsupporttype 
an indicater: 1 stands for matrix ee^T and 2 stands for matrix ee^T  I 
numiter 
a number of iterations 
ties.method 
a character string specifying how ties are treated, including "average", "first", "last", "random", "max", "min", from base::rank 
Large offense score means strong offense, and large defense score means weak defense
hitspp
: HITS, using presenterpresenter matrix, equivalent to offdefsc
offdefsc
: OffenseDefense rating method, using presenterpresenter matrix
Jiangtao Gou
Gou, J. and Wu, S. (2020). A Judging System for Project Showcase: Rating and Ranking with Incomplete Information. Technical Report.
Kleinberg, J. M. (1999). Authoritative sources in a hyperlinked environment. Journal of the ACM 46, 604632.
Langville, A. N. and Meyer, C. D. (2012). Who's Number 1?: The Science of Rating and Ranking. Princeton University Press.
1 2 3 4 5 6 7 8  jpMat < matrix(data=c(5,4,3,0, 5,5,3,1, 0,0,0,5, 0,0,2,0, 4,0,0,3, 1,0,0,4),nrow=6,byrow=TRUE)
method < 'hitspp'
totalsupporteps < 0.01
totalsupporttype < 1
numiter < 10
ties.method <'average'
result < offdefsc(jpMat, method, totalsupporteps, totalsupporttype, numiter, ties.method)
print(result)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.