Conditions related to infinite values
row_infs(.data, match_type = "none", ...) # S3 method for matrix row_infs(.data, match_type = "none", ...) # S3 method for data.frame row_infs(.data, match_type = "none", ...)
.data | A two-dimensional data structure. |
---|---|
match_type | One of ("all", "any", "none", "which_first", "count"). Possibly abbreviated. |
... | Arguments passed on to
|
# consistency with R with respect to NA/NaN row_infs(data.frame(NaN, NA_real_, NA_complex_), "none")#> [1] TRUE# complex can also be infinite row_infs(data.frame(Inf, -Inf, as.complex(Inf), as.complex(-Inf)), "all")#> [1] TRUE