chi2bins: Bin points based on chi2
Description
Map to values of sigma and compute equidistant binning in sigma.
Usage
chi2bins(chivals, ndf, k)
Value
bin assignment for each point
Arguments
- chivals
vector with chi2 values
- ndf
number of parameters (degrees of freedom of the chi2 distribution)
- k
number of bins