stat: "ecdf"

Empirical cumulative distribution F̂(x). Publishes ecdf; pair with step or path geoms for CDF plots.

Usage

import { GGPlot, GeomLine } from "@ggsvelte/svelte";

<GGPlot data={rows} aes={{ x: "x" }}>
  <GeomLine stat="ecdf" />
</GGPlot>
{
  "geom": "line",
  "stat": "ecdf"
}

Generated columns (after_stat)

Resolve these with channel objects such as { stat: "ecdf" } in aes.

  • ecdf

Default for geoms

No geom uses this as its default stat. Set it explicitly when needed.

Compatible geoms

Examples

← All stats · Geoms · Statistics and positions