return_last_section: Return Last Section

Description Usage Arguments Value

View source: R/export-tabler.R

Description

Takes a subset of the order specification, strips out all of the line elements, and returns the section that preceded the last position. This will be used to identify the row number that the line will be added below.

Usage

1

Arguments

x

Character scalar providing the order of the tabler table. Normally stored as tblr_obj$theme$order.

Value

A single character giving the group that precdes where the line will be added. If the line is to be added at the very top of the table, will return NA.


kbrevoort/tabler documentation built on Oct. 20, 2020, 7:49 a.m.