Skip to contents

Appends columns to the spec's add_columns list. These columns will be added to the default column set.

Usage

add_spec_columns(spec, ...)

Arguments

spec

A TableSpec or SummarySpec object

...

Column names to add (character strings)

Value

Modified spec

Examples

spec <- TableSpec() |>
  add_spec_columns("shrinkage", "cv")

sum_spec <- SummarySpec() |>
  add_spec_columns("estimation_time")