title: Ranking based on significant difference in list of lists
body: <p>I have a list of lists, where each list is sorted. What I want to look into is how many times a certain element has appeared in a specific position and take into account if the value is significantly different from the previous element. (For example in the first list gs, ms, bofa and citi have the same value but they are ranked differently). I realize that the length of the rankings would not be the same because each list's elements are different. How can I do this in a manner where it is correct and also shows the result in a decent way?</p>
  <p>What I have so far with ranking solidly based on the sort function output:</p>
  <pre><code>dput(degree.l)
  list(c(schwab = 0, pnc = 0.0344827586206897, jpm = 0.0862068965517241, 
  amex = 0.0862068965517241, gs = 0.103448275862069, ms = 0.103448275862069, 
  bofa = 0.103448275862069, citi = 0.103448275862069, wf = 0.120689655172414, 
  spgl = 0.120689655172414, brk = 0.137931034482759), c(schwab = 0.0166666666666667, 
  pnc = 0.05, ms = 0.0666666666666667, spgl = 0.0833333333333333, 
  jpm = 0.1, bofa = 0.1, wf = 0.1, amex = 0.1, gs = 0.116666666666667, 
  brk = 0.116666666666667, citi = 0.15), c(schwab = 0.0428571428571429, 
  gs = 0.0714285714285714, pnc = 0.0714285714285714, citi = 0.0857142857142857, 
  amex = 0.0857142857142857, spgl = 0.0857142857142857, jpm = 0.1, 
  brk = 0.1, ms = 0.114285714285714, wf = 0.114285714285714, bofa = 0.128571428571429
  ))
  
  table(res &lt;- sapply(degree.l, names), pos = row(res))
  </code></pre>
  <p>Also refer to this question for ways to rank it solidly based on the sort I got:</p>
  <p><a href="https://stackoverflow.com/questions/68491907/frequency-of-appearance-in-list-of-lists">Frequency of appearance in list of lists</a></p>