Learn R Programming

tablesgg (version 0.9-1)

undo_rowhead_inside: 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)

Value

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

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.)

See Also

tblEntries, rowhead_inside