st_span: Add column spanner to st object

View source: R/table-object.R

st_spanR Documentation

Add column spanner to st object

Description

See the span argument to stable(). This function can be called multiple times and will accumulate span data.

Usage

st_span(x, ..., split = FALSE)

Arguments

x

an stobject

...

passed to colgroup() or st_span_split() if split is TRUE

split

if TRUE, then st_span_split() is called

Examples

library(dplyr)

ob <- st_new(ptdata())

ob %>% st_span("Covariates", WT:ALB) %>% st_make()


metrumresearchgroup/pmtables documentation built on Oct. 27, 2024, 5:16 p.m.