Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/soda/mod.ts>SelectRegrSlope

SODA (Socrata) Client for Deno/Node
Latest
function SelectRegrSlope
import { SelectRegrSlope } from "https://deno.land/x/soda@0.4.5/mod.ts";

Returns the slope of the linear least squares fit

Docs: https://dev.socrata.com/docs/functions/regr_slope.html

Parameters

xField: string | FieldObject<DataType.Number>
yField: string | FieldObject<DataType.Number>