rStats.js v1.3.0
    Preparing search index...

    Interface LmOptions

    Options for lm.

    interface LmOptions {
        intercept?: boolean;
        weights?: Sample;
    }
    Index
    intercept?: boolean

    Include an intercept (a column of ones before the columns of x). Default true.

    weights?: Sample

    Weights for weighted least squares (non-negative; rows of weight 0 are left out of the fit).