convertcols: Convert selected columns with a function

View source: R/primitives.R

convertcolsR Documentation

Convert selected columns with a function

Description

Convert selected columns with a function

Usage

convertcols(data, cols, fun, ...)

Arguments

data

A data.frame.

cols

Character vector of column names.

fun

Function applied to each element, column, or group.

...

Additional arguments (unused, or passed through depending on the function).

Value

data with the selected columns converted.


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