row_grp_structure: Row Group Structure Object

View source: R/row_group_plan.R

row_grp_structureR Documentation

Row Group Structure Object

Description

Function needed to create a row_grp_structure object, which is a building block of row_grp_plan()

Usage

row_grp_structure(group_val = ".default", element_block)

Arguments

group_val

A string or a named list of strings which represent the value of group should be when the given frmt is implemented

element_block

element_block() object to define the block styling

Value

row_grp_structure object

See Also

row_grp_plan() for more details on how to group row group structures, element_block() for more details on how to specify spacing between each group.

Link to related article

Examples


## single grouping variable example
row_grp_structure(group_val = c("A","C"), element_block(post_space = "---"))

## example with multiple grouping variables
row_grp_structure(group_val = list(grp1 = "A", grp2 = "b"), element_block(post_space = " "))


GSK-Biostatistics/tlang documentation built on Dec. 11, 2024, 11:16 a.m.