binom_for_histogram function

binom_for_histogram

binom_for_histogram

p_values from stats::binom.test for each bin, if bin is empty, a p-value of 2 is returned

binom_for_histogram(n_x)

Arguments

  • n_x: numeric vector of two integers. The first one is the number of cases in the bin; the second the number of instances in the bin

Returns

p-value from stats::binom.test method

  • Maintainer: Dominik Heider
  • License: LGPL-3
  • Last published: 2019-08-19

Useful links