assess Modality
fun assessModality(numBootstrapSamples: Int = ModalityAnalyzer.defaultNumBootstrapSamples, streamNumber: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider): ModalityAssessment(source)
How many modes the data appears to have, and whether that appearance survives smoothing.
A method rather than a property because it bootstraps and the rest do not. PDFModeler draws the same line: what is cheap is a property, what costs resamples is called.
Parameters
num Bootstrap Samples
how many resamples the test draws
stream Number
the random number stream, so the result is reproducible
stream Provider
the provider of that stream