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

x/rdw_data/src/mod.ts>SelectRegrR2

Get data from RDW using Deno/Node
Latest
function SelectRegrR2
import { SelectRegrR2 } from "https://deno.land/x/rdw_data@0.7.0/src/mod.ts";

Returns the square of the correlation coefficient (r²)

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

Parameters

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

Returns

SelectImpl