The values that are not missing. Equivalent to R's na.omit(). For a vector.
na.omit()
naOmit([1, NaN, 3]); // [1, 3] Copy
naOmit([1, NaN, 3]); // [1, 3]
The complete rows of a data frame, as R's na.omit() for a data frame: the same columns, in order, restricted to the rows where none is missing (null, or NaN in a numeric column); see completeCases.
null
NaN
naOmit({ a: [1, NaN, 3], s: ["u", "v", null] }); // { a: [1], s: ["u"] } Copy
naOmit({ a: [1, NaN, 3], s: ["u", "v", null] }); // { a: [1], s: ["u"] }
The values that are not missing. Equivalent to R's
na.omit(). For a vector.