pointDensity

class pointDensity(val bw: Any? = null, val kernel: String? = null, val method: String? = null, val n: Int? = null, val adjust: Number? = null, val mapping: PointDensityStatMapping.() -> Unit = {}) : StatOptions, PointDensityStatParameters

Constructors

Link copied to clipboard
constructor(bw: Any? = null, kernel: String? = null, method: String? = null, n: Int? = null, adjust: Number? = null, mapping: PointDensityStatMapping.() -> 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 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. Only used when method = "kde2d".

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

The kernel used for KDE. One of "gaussian", "cosine", "optcosine", "rectangular"/"uniform", "triangular", "biweight"/"quartic", "epanechikov"/"parabolic". Only used when method = "kde2d".

Link copied to clipboard
val kind: StatKind
Link copied to clipboard
val mapping: Options
Link copied to clipboard
open override val method: String? = null

default = "auto" ("auto", "neighbours", "kde2d"). Method to compute the density estimate:

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

The number of sampled points for plotting the function (in x and y direction, respectively). Only used when method = "kde2d".

Link copied to clipboard
open override val parameters: Options