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

x/rdw_data/src/providers/mod.ts>SelectRegrSlope

Get data from RDW using Deno/Node
Latest
function SelectRegrSlope
import { SelectRegrSlope } from "https://deno.land/x/rdw_data@0.7.0/src/providers/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>

Returns

SelectImpl