df_clean: Remove columns or rows containing only NA values

df_cleanR Documentation

Remove columns or rows containing only NA values

Description

Remove columns or rows containing only NA values

Usage

df_clean(df, type = c("both", "rows", "cols"))

Arguments

df

Tibble (or data frame)

type

Character (length 1). Whether to remove empty rows, columns, or both.

Value

Tibble (or data frame) with any empty columns/rows removed


evanmascitti/ecmfuns documentation built on April 5, 2025, 1:52 a.m.