undo_rowhead_inside: Reverse the Effect of 'rowhead_inside'

View source: R/rowhead_inside.bare.R

undo_rowhead_insideR Documentation

Reverse the Effect of rowhead_inside

Description

Reverse the effect of rowhead_inside for a tblEntries object: Move row headers that are inside a table back to the outermost layer of row headers, at the left side. This is an internal function, not intended to be called by package users.

Usage

undo_rowhead_inside(x)

Arguments

x

A tblEntries object containing table entries.

Details

This function changes the expanded row-column grid of the table, so must be called early in processing, before table blocks or hvrules are created.

See rowhead_inside for what happens when the outermost row header is moved inside the table; this function reverses that. (However the order of entries may be changed from the original.)

Value

An updated tblEntries object, and with attribute rowheadInside set to FALSE.

See Also

tblEntries, rowhead_inside


tablesgg documentation built on June 22, 2024, 11:02 a.m.