find_inf_rows: Finds rows in a data.frame which contain Inf values

find_inf_rowsR Documentation

Finds rows in a data.frame which contain Inf values

Description

Finds rows in a data.frame which contain Inf values

Usage

find_inf_rows(df)

Arguments

df

data.frame or tibble

Value

A vector of unique row indices containing Inf values

Examples

# Example usage:
dat <- data.frame(A = c(Inf, 2:4), B = c(1:3, Inf), C = 1:4)
find_inf_rows(dat)

lefeverde/lefutils documentation built on April 5, 2025, 1:40 p.m.