substitute_col_id: Substitute 'col_id' and 'row_id'

View source: R/utilities.R

substitute_col_idR Documentation

Substitute col_id and row_id

Description

This function is used to substitute n_col and n_row inside of the expressions passed into col_id and row_id

Usage

substitute_col_id(st, col_id, stack_level = 1, error_handler)

Arguments

st

The StyledTable object

col_id

The passed expression that should be evaluated to the column ids

stack_level

The level number of the environment stack (1: parent.frame, 2: parent.parent.frame))

error_handler

Error handling function. Takes a message string

Value

The evaluated column ids (unbroken numeric vector)


R-package/styledTables documentation built on Feb. 6, 2024, 2:21 a.m.