density2D

class density2D(val bw: Any? = null, val kernel: String? = null, val n: Int? = null, val adjust: Number? = null, val contour: Boolean? = null, val bins: Int? = null, val binWidth: Number? = null, val mapping: Density2dStatMapping.() -> Unit = {}) : StatOptions, Density2dStatParameters

Constructors

Link copied to clipboard
constructor(bw: Any? = null, kernel: String? = null, n: Int? = null, adjust: Number? = null, contour: Boolean? = null, bins: Int? = null, binWidth: Number? = null, mapping: Density2dStatMapping.() -> Unit = {})

Properties

Link copied to clipboard
open override val adjust: Number? = null

Adjusts the value of bandwidth by multiplying it. Changes how smooth the frequency curve is.

Link copied to clipboard
open override val bins: Int? = null

Number of levels.

Link copied to clipboard
open override val binWidth: Number? = null

Distance between levels.

Link copied to clipboard
open override val bw: Any? = null

The method (or exact value) of bandwidth. Either a String (choose among "nrd0" and "nrd"), or a Double array of length 2.

Link copied to clipboard
open override val contour: Boolean? = null

If true, contour the results of the 2D density estimation.

Link copied to clipboard
open override val kernel: String? = null

The kernel used to calculate the density function. Choose among "gaussian", "cosine", "optcosine", "rectangular" (or "uniform"), "triangular", "biweight" (or "quartic"), "epanechikov" (or "parabolic").

Link copied to clipboard
val kind: StatKind
Link copied to clipboard
val mapping: Options
Link copied to clipboard
open override val n: Int? = null

The number of sampled points for plotting the function (on x and y direction correspondingly).

Link copied to clipboard
open override val parameters: Options