cell_transform: Create a function to transform all cells of a table

View source: R/compile-post.R

cell_transformR Documentation

Create a function to transform all cells of a table

Description

Given a function that operates on a table cell and returns the modified cell, return a function that given a table applies that function to all cells and returns the modified table.

Usage

cell_transform(FUN, ...)

Arguments

FUN

function to apply, must return the modified cell

...

additional arguments to pass into function

Value

a table modification function


spgarbet/tg documentation built on Feb. 21, 2023, 3:35 a.m.