PartitionCutPlot

constructor(data: DoubleArray, partitions: Map<Int, DataPartition>, binWidth: Double = defaultDotBinWidth(data), variableName: String = "observed value")(source)

Parameters

data

the sample, which need not be sorted

partitions

the fitted partition at each component count of interest

binWidth

the dot bin width, defaulting to a hundredth of the range

variableName

what the observations measure, for the axis label