Skip to content

scagnostic

function scagnostic(
ldIn,
name,
opts?): MetricResult;

Defined in: scagnostics/index.ts:269

A single scagnostic, in the shared result shape.

ParameterType
ldInPointsInput
name| "outlying" | "skewed" | "clumpy" | "sparse" | "striated" | "convex" | "skinny" | "stringy" | "monotonic"
opts?ScagnosticsOptions

MetricResult

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