make_bins_disc: This function creates several types of bins for discrete data

View source: R/make_bins_disc.R

make_bins_discR Documentation

This function creates several types of bins for discrete data

Description

This function creates several types of bins for discrete data

Usage

make_bins_disc(
  x,
  pnull,
  phat = function(x) -99,
  nbins = c(50, 10),
  minexpcount = 5
)

Arguments

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

Value

A list of indices


Rgof documentation built on Oct. 21, 2024, 5:07 p.m.