query_abbrev: Query abbreviations

View source: R/layout_helpers.r

query_abbrevR Documentation

Query abbreviations

Description

query_abbrev queries if any of the names in a named list is present in an object including object names, matching only on strings that are separate words (ie starting and ending with blank, comma, parentheris or other separator). Returns named list with all abbreviations present (via grepl).

Usage

query_abbrev(x, y)

Arguments

x

Object to test.

y

Named list of abbrevs.

Value

Named list of abbreviations in object and corresponding explanation

See Also

html.layout for html tables and print_abbrev for printing abbrevs to table footer.

Other table layout: add_colgroup(), add_cols(), add_rowgroup(), add_units(), firstrow_css(), layout_html(), order_by_vector(), order_layout(), prepare(), print_abbrev()

Examples

None yet.

eeenilsson/layout documentation built on Sept. 26, 2022, 8:14 p.m.