rStats.js v1.3.0
    検索インデックスを準備しています...

    Interface LmFormulaOptions

    式を指定した lm のオプションです。

    interface LmFormulaOptions {
        contrasts?: Record<string, ContrastName>;
        levels?: Record<string, readonly string[]>;
        weights?: string | Sample;
    }

    Hierarchy (View Summary)

    Index
    contrasts?: Record<string, ContrastName>

    因子ごとの対比です (既定は "contr.treatment")。真偽値の変数もこれを受け取ります。式の変数でない名前は、警告 variable 'B' is absent, its contrast will be ignored を出します。数値の変数 (応答変数を含む) はエラーです。

    levels?: Record<string, readonly string[]>

    因子の水準の順序です ({ A: ["c", "a", "b"] })。R の factor(x, levels = ...) と同じ指定です。

    weights?: string | Sample

    重み: data の行と対応する配列、または数値の列の名前です。