scagnostic
function scagnostic( ldIn, name, opts?): MetricResult;Defined in: scagnostics/index.ts:269
A single scagnostic, in the shared result shape.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
ldIn | PointsInput |
name | | "outlying" | "skewed" | "clumpy" | "sparse" | "striated" | "convex" | "skinny" | "stringy" | "monotonic" |
opts? | ScagnosticsOptions |
Returns
Section titled “Returns”Example
Section titled “Example”import { scagnostic } from "@saehrimnir/sickle";
// One measure, as a MetricResult. Computes all nine internally, so prefer// `scagnostics` when you want more than one.scagnostic(projection, "outlying").value; // 0.1736