inc: Select (include) columns by character or numeric vector.

incR Documentation

Select (include) columns by character or numeric vector.

Description

Select (include) columns by character or numeric vector.

Usage

inc(x, idx)

Arguments

x

tabular data.

idx

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

Value

data.frame, tibble, or data.table.

Author(s)

EDG

Examples

inc(iris, c(3, 4)) |> head()
inc(iris, c("Sepal.Length", "Species")) |> head()

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