Learn R Programming

HHG (version 2.3.7)

nr_bins_equipartition: Function for selecting the default number of atoms for equipartition

Description

Function selects the default number of atoms by sample size, being min(n,60+0.5*floor(sqrt(n)))

Usage

nr_bins_equipartition(n)

Value

Default number of atoms by sample size.

Arguments

n

Sample size

Author

Barak Brill

Details

Function returns the default number of atoms (bins of sample space partition) for tests performed over a large number of observations. The default number of atoms is min(n,60+0.5*floor(sqrt(n))).

Examples

Run this code
  nr_bins_equipartition(100)

Run the code above in your browser using DataLab