binner_cont {Rgof}R Documentation

routine to bin continuous data and assure expected counts>5

Description

routine to bin continuous data and assure expected counts>5

Usage

binner_cont(
  x,
  pnull,
  param,
  k = 10L,
  which = 1L,
  Range = as.numeric(c(-99999, 99999)),
  minexpcount = 2
)

Arguments

x

A numeric vector of numbers.

pnull

function to find CDF

param

parameter of pnull

k

=10, number of bins

which

=1, 1=equal probability bins, 2-equal size bins

Range

=(-99999,99999) limits of possible observations, if any

minexpcount

=2 minimal expected bin count required

Value

A vectors of bin edges


[Package Rgof version 1.2.2 Index]