ranking-class.RdObject of the class "ranking" are created from the
ranking function and extend the class matrix
Objects can be created by calls of the form new("ranking", ...).
.Data:Object of class "matrix" containing the
data ranking and scores
convergence:Object of class "matrix"
containing the convergence matrix
edgegraph:Object of class "matrix" containing
the edgegraph
Class "matrix", directly.
signature(object = "ranking"): displays the
ranking score matrix
data(spirals)
## create data set to be ranked
ran<-spirals[rowSums(abs(spirals)<0.55)==2,]
## rank points according to "relevance" to point 54 (up left)
ranked<-ranking(ran,54,kernel="rbfdot",
kpar=list(sigma=100),edgegraph=TRUE)
ranked
#> Ranking object of class "ranking"
#>
#> [,1] [,2] [,3]
#> [1,] 1 0.501933954 22
#> [2,] 2 0.003693627 50
#> [3,] 3 0.002223344 65
#> [4,] 4 0.003438816 53
#> [5,] 5 0.003918642 48
#> [6,] 6 0.003970762 46
#> [7,] 7 0.590867827 19
#> [8,] 8 0.003992904 45
#> [9,] 9 0.003954118 47
#> [10,] 10 0.003613429 52
#> [11,] 11 0.003771499 49
#> [12,] 12 0.708139398 7
#> [13,] 13 0.003649062 51
#> [14,] 14 0.003361168 54
#> [15,] 15 0.003339789 55
#> [16,] 16 0.003278750 56
#> [17,] 17 0.003089340 57
#> [18,] 18 0.003011486 58
#> [19,] 19 0.300192835 42
#> [20,] 20 0.002853653 59
#> [21,] 21 0.001417890 85
#> [22,] 22 0.002676371 60
#> [23,] 23 0.002584547 61
#> [24,] 24 0.002416572 62
#> [25,] 25 0.698754734 8
#> [26,] 26 0.002352778 63
#> [27,] 27 0.002268396 64
#> [28,] 28 0.002050746 66
#> [29,] 29 0.629586956 17
#> [30,] 30 0.002007343 67
#> [31,] 31 0.805769796 2
#> [32,] 32 0.001954349 68
#> [33,] 33 0.001817912 69
#> [34,] 34 0.001721578 71
#> [35,] 35 0.680673676 11
#> [36,] 36 0.001452053 84
#> [37,] 37 0.424161568 39
#> [38,] 38 0.001457811 83
#> [39,] 39 0.001464430 82
#> [40,] 40 0.001519561 78
#> [41,] 41 0.001484902 80
#> [42,] 42 0.001515801 79
#> [43,] 43 0.001532059 77
#> [44,] 44 0.766982591 3
#> [45,] 45 0.001639013 73
#> [46,] 46 0.001595997 75
#> [47,] 47 0.001739823 70
#> [48,] 48 0.454830310 32
#> [49,] 49 0.001595851 76
#> [50,] 50 0.496213855 23
#> [51,] 51 0.001711609 72
#> [52,] 52 0.001621874 74
#> [53,] 53 0.001477896 81
#> [54,] 54 NA NA
#> [55,] 55 0.503425922 21
#> [56,] 56 0.433022692 36
#> [57,] 57 0.469598796 29
#> [58,] 58 0.449585799 33
#> [59,] 59 0.646713361 13
#> [60,] 60 0.447782056 35
#> [61,] 61 0.692159399 10
#> [62,] 62 0.739738982 4
#> [63,] 63 0.492684712 25
#> [64,] 64 0.640261723 16
#> [65,] 65 0.456652115 31
#> [66,] 66 0.472051696 27
#> [67,] 67 0.082113192 44
#> [68,] 68 0.082459425 43
#> [69,] 69 0.711411130 6
#> [70,] 70 0.854180259 1
#> [71,] 71 0.473332566 26
#> [72,] 72 0.666963465 12
#> [73,] 73 0.428522596 38
#> [74,] 74 0.616040842 18
#> [75,] 75 0.470121130 28
#> [76,] 76 0.695360887 9
#> [77,] 77 0.529795623 20
#> [78,] 78 0.448211361 34
#> [79,] 79 0.494033650 24
#> [80,] 80 0.362389662 40
#> [81,] 81 0.643533575 15
#> [82,] 82 0.723582546 5
#> [83,] 83 0.354941741 41
#> [84,] 84 0.459391239 30
#> [85,] 85 0.645278916 14
#> [86,] 86 0.432438191 37
#>
#> edgegraph matrix included.
edgegraph(ranked)[1:10,1:10]
#> [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
#> [1,] TRUE TRUE TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE
#> [2,] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
#> [3,] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
#> [4,] FALSE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE
#> [5,] FALSE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
#> [6,] FALSE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE
#> [7,] TRUE TRUE TRUE FALSE TRUE FALSE TRUE FALSE FALSE FALSE
#> [8,] FALSE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE
#> [9,] FALSE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE
#> [10,] FALSE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE