PMFPlot

class PMFPlot @JvmOverloads constructor(val dEmpiricalCDF: DEmpiricalCDF, dataName: String? = null) : BasePlot(source)

Plots a probability mass function as represented by a DEmpirical.

Constructors

Link copied to clipboard
constructor(values: DoubleArray, probabilities: DoubleArray, dataName: String? = null)

Creates a DEmpirical based on the values and the probabilities and then plots it.

constructor(range: IntRange, pmf: PMFIfc, dataName: String? = null)

Can be used to make a plot of a probability mass function (pmf) over a range of values.

constructor(dEmpiricalCDF: DEmpiricalCDF, dataName: String? = null)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun buildPlot(): Plot

Builds a new instance of a Lets-Plot representation of the plot