Class: Rust::StatisticalTests::PValueAdjustment::Hommel

Inherits:
Object
  • Object
show all
Defined in:
lib/rust/stats/tests.rb

Overview

Hommel p-value adjustment method.

Class Method Summary collapse

Class Method Details

.adjust(*p_values) ⇒ Object



332
333
334
335
336
337
# File 'lib/rust/stats/tests.rb', line 332

def self.adjust(*p_values)
    Rust.exclusive do
        Rust['adjustment.p'] = p_values
        return Rust._pull("p.adjust(adjustment.p, method=\"hommel\")")
    end
end