binom_for_histogram {CalibratR} | R Documentation |
binom_for_histogram
Description
p_values from stats::binom.test for each bin, if bin is empty, a p-value of 2 is returned
Usage
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 |
Value
p-value from stats::binom.test method
[Package CalibratR version 0.1.2 Index]