View source: R/make_bins_disc.R
make_bins_disc | R Documentation |
This function creates several types of bins for discrete data
make_bins_disc(
x,
pnull,
phat = function(x) -99,
nbins = c(50, 10),
minexpcount = 5
)
x |
counts |
pnull |
cumulative distribution function |
phat |
=function(x) -99, function to estimated parameters, or -99 |
nbins |
=c(50, 10) number of bins |
minexpcount |
=5 smallest expected count per bin |
A list of indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.