Skip to contents

Sets the number of significant figures for numeric formatting.

Usage

set_spec_sigfig(spec, n)

Arguments

spec

A TableSpec or SummarySpec object

n

Positive integer for significant figures

Value

Modified spec

Examples

spec <- TableSpec() |>
  set_spec_sigfig(4)