rowapply: Apply a function row-wise

View source: R/primitives.R

rowapplyR Documentation

Apply a function row-wise

Description

Apply a function row-wise

Usage

rowapply(data, cols = NULL, 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

The result of fun applied to each row.


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