Learn R Programming

vtreat (version 1.0.4)

linScore: Return in-sample linear stats and scaling.

Description

Return in-sample linear stats and scaling.

Usage

linScore(varName, xcol, ycol, weights, numberOfHiddenDegrees = 0)

Arguments

varName

name of variable

xcol

numeric vector of inputs (no NA/NULL/NaN)

ycol

numeric vector of outcomes (no NA/NULL/NaN)

weights

numeric vector of data weights (no NA/NULL/NaN, all>0.0)

numberOfHiddenDegrees

optional scalar >= 0 number of additional modeling degrees of freedom to account for.

Value

significance estiamte and scaling.