exc: Exclude columns by character or numeric vector.

excR Documentation

Exclude columns by character or numeric vector.

Description

Exclude columns by character or numeric vector.

Usage

exc(x, idx)

Arguments

x

tabular data.

idx

Character or numeric vector: Column names or indices to exclude.

Value

data.frame, tibble, or data.table.

Author(s)

EDG

Examples

exc(iris, "Species") |> head()
exc(iris, c(1, 3)) |> head()

rtemis documentation built on Oct. 20, 2026, 1:06 a.m.