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

    Function completeCases

    • Which rows have no missing value. Equivalent to R's complete.cases(). One boolean per row, true when no column of any argument is missing (null, or NaN in a numeric column) in that row.

      Parameters

      • ...args: (DataFrame | MissingVector)[]

        Data frames (objects of equal-length columns) or arrays, all with the same number of rows.

      Returns boolean[]

      completeCases({ a: [1, NaN, 3], s: ["u", "v", null] }); // [true, false, false]