Bonferroni p-value adjustment method.
296 297 298 299 300 301
# File 'lib/rust/stats/tests.rb', line 296 def self.adjust(*p_values) Rust.exclusive do Rust['adjustment.p'] = p_values return Rust._pull("p.adjust(adjustment.p, method=\"bonferroni\")") end end