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

    Interface SplineOptions

    Options for spline.

    interface SplineOptions {
        method?: SplineMethod;
        n?: number;
        ties?: Ties;
        xmax?: number;
        xmin?: number;
        xout?: Sample;
    }
    Index
    method?: SplineMethod

    "fmm" (default), "natural", "periodic" or "hyman".

    n?: number

    Number of equally spaced points from xmin to xmax. Default 3 * x.length.

    ties?: Ties

    How to merge equal x values. Default "mean".

    xmax?: number

    Right end of the equally spaced points. Default: the largest x.

    xmin?: number

    Left end of the equally spaced points. Default: the smallest x.

    xout?: Sample

    Points to interpolate at (then n, xmin and xmax are not used).