omitmissing: Drop rows with missing values

View source: R/omitmissing.R

omitmissingR Documentation

Drop rows with missing values

Description

Drop rows where selected columns are missing or blank.

Usage

omitmissing(data, cols = NULL, mode = c("any", "all"))

Arguments

data

A data frame or data table.

cols

Optional character vector of columns to inspect.

mode

Whether any or all selected columns must be missing before a row is dropped.

Value

A basetable without the omitted rows.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.