detect_missings | R Documentation |
Function detects rows of for which any column is NA
, NaN
or (±) Inf
.
detect_missings(.x)
.x |
a |
A list with elements
An integer vector of indexes of rows with any NA
, NaN
or (±) Inf
NULL
if all rows are complete (all values non-missings).
NULL
if removed
is NULL
.
Otherwise, a named list (names correspond to removed
).
Each list element is a list with elements "na", "nan" and "inf",
each a character vector of column names with
NA
, NaN
and (±) Inf
values, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.