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

    Interface MeanOptions

    Options for mean.

    interface MeanOptions {
        naRm?: boolean;
        trim?: number;
    }

    Hierarchy (View Summary)

    Index
    naRm?: boolean

    Drop NaN (R's NA) before computing. Default false: a NaN gives NaN.

    trim?: number

    Fraction (0 to 0.5) of values trimmed from each end before the mean. Default 0.