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

    Interface CoordsOptions

    Options for coords.

    interface CoordsOptions {
        bestMethod?: string & {} | "youden" | "closest.topleft" | "topleft";
        bestWeights?: readonly number[];
    }
    Index
    bestMethod?: string & {} | "youden" | "closest.topleft" | "topleft"

    The criterion of "best": "youden" (default; the maximum of se + r·sp) or "closest.topleft" (the minimum of (1 − se)² + r(1 − sp)²; "topleft" is the same); abbreviations are accepted.

    bestWeights?: readonly number[]

    [cost, prevalence]: the weight r = (1 − prevalence)/(cost · prevalence) of the specificity in the criteria. The cost must be positive and the prevalence in (0, 1). Default [1, 0.5] (r = 1).