Benjamini-Hochberg p-value adjustment method.
344 345 346 347 348 349
# File 'lib/rust/stats/tests.rb', line 344 def self.adjust(*p_values) Rust.exclusive do Rust['adjustment.p'] = p_values return Rust._pull("p.adjust(adjustment.p, method=\"BH\")") end end