Method: Statsample::DominanceAnalysis#total_dominance
- Defined in:
- lib/statsample/dominanceanalysis.rb
#total_dominance ⇒ Object
250 251 252 253 254 |
# File 'lib/statsample/dominanceanalysis.rb', line 250 def total_dominance pairs.inject({}){|a,pair| a[pair]=total_dominance_pairwise(pair[0], pair[1]) a } end |