Skip to contents

row

Usage

rrow(row.name = "", ..., format = NULL, indent = 0, inset = 0L)

Arguments

row.name

if NULL then an empty string is used as row.name of the rrow.

...

cell values

format

character(1) or function. The format label (string) or formatter function to apply to the cell values passed via .... See list_valid_format_labels for currently supported format labels.

indent

deprecated.

inset

integer(1). The table inset for the row or table being constructed. See table_inset.

Value

A row object of the context-appropriate type (label or data)

See also

Other compatibility: rheader(), rrowl(), rtable()

Examples


rrow("ABC", c(1, 2), c(3, 2), format = "xx (xx.%)")
#> [DataRow indent_mod 0]: ABC   1 (200%)   3 (200%)
rrow("")
#> [LabelRow indent_mod 0]: