Skip to main content
Module

x/rdw_data/src/providers/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/providers/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