A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://insightsengineering.github.io/rtables/latest-release/reference/rheader.html below:

Create a header — rheader • rtables

Create a header

Usage
rheader(..., format = "xx", .lst = NULL)
Arguments
...

row specifications, either as character vectors or the output from rrow(), DataRow(), LabelRow(), etc.

format

(string, function, or list)
the format label (string) or formatter function to apply to the cell values passed via .... See formatters::list_valid_format_labels() for currently supported format labels.

.lst

(list)
an already-collected list of arguments to be used instead of the elements of .... Arguments passed via ... will be ignored if this is specified.

Value

A InstantiatedColumnInfo object.

Examples
h1 <- rheader(c("A", "B", "C"))
h1
#> An InstantiatedColumnInfo object
#> Columns:
#> A (mnl)
#> B (mnl)
#> C (mnl)
#> 

h2 <- rheader(
  rrow(NULL, rcell("group 1", colspan = 2), rcell("group 2", colspan = 2)),
  rrow(NULL, "A", "B", "A", "B")
)
h2
#> An InstantiatedColumnInfo object
#> Columns:
#> group 1 (mnl) -> A (mnl)
#> group 1 (mnl) -> B (mnl)
#> group 2 (mnl) -> A (mnl)
#> group 2 (mnl) -> B (mnl)
#> 


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4