smooth

class smooth(val method: String? = null, val n: Int? = null, val level: Number? = null, val se: Boolean? = null, val span: Number? = null, val deg: Int? = null, val seed: Long? = null, val maxN: Int? = null, val mapping: SmoothStatMapping.() -> Unit = {}) : StatOptions, SmoothStatParameters

Constructors

Link copied to clipboard
constructor(method: String? = null, n: Int? = null, level: Number? = null, se: Boolean? = null, span: Number? = null, deg: Int? = null, seed: Long? = null, maxN: Int? = null, mapping: SmoothStatMapping.() -> Unit = {})

Properties

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

Degree of polynomial for linear regression model.

Link copied to clipboard
val kind: StatKind
Link copied to clipboard
open override val level: Number? = null

Level of confidence interval to use.

Link copied to clipboard
val mapping: Options
Link copied to clipboard
open override val maxN: Int? = null

Maximum number of data-points for LOESS method. If this quantity exceeded random sampling is applied to data.

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

Smoothing method: lm (Linear Model) or loess (Locally Estimated Scatterplot Smoothing).

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

Number of points to evaluate smoother at.

Link copied to clipboard
open override val parameters: Options
Link copied to clipboard
open override val se: Boolean? = null

To display confidence interval around smooth.

Link copied to clipboard
open override val seed: Long? = null

Random seed for LOESS sampling.

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

The fraction of source points closest to the current point is taken into account for computing a least-squares regression. A sensible value is usually 0.25 to 0.5.