drop: Drop columns

View source: R/pick-drop.R

dropR Documentation

Drop columns

Description

Drop columns by name.

Usage

drop(data, cols)

Arguments

data

A data frame or data table.

cols

Character vector of column names to remove.

Value

A basetable with the selected columns removed.


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