Companion

Properties

Link copied to clipboard

The fraction of the unimodal critical bandwidth at which bin sensitivity is measured.

Link copied to clipboard

The bin counts the sensitivity check tries.

Link copied to clipboard

How much a cell must exceed its neighbours, relative to the peak density, to count as a mode.

Link copied to clipboard

The number of cells the data is binned into when none is given.

Link copied to clipboard

The number of resamples the smoothed bootstrap draws when none is given.

Link copied to clipboard

How many bandwidths the default mode trace sweeps.

Link copied to clipboard

Further padding of the evaluation grid, in sample standard deviations.

Link copied to clipboard

How far the evaluation grid extends beyond the data, as a fraction of its range.

Link copied to clipboard

How many doublings the upper bracket search will attempt before giving up.

Link copied to clipboard

How many bisection steps the critical bandwidth search takes.

Functions

Link copied to clipboard
fun modeCount(data: DoubleArray, bandwidth: Double, numBins: Int = defaultNumBins): Int

The mode count of a Gaussian kernel estimate of the supplied data at a bandwidth.