stable_save: Save output from stable

View source: R/table-utils.R

stable_saveR Documentation

Save output from stable

Description

Save output from stable

Usage

stable_save(
  x,
  file = attr(x, "stable_file"),
  dir = getOption("pmtables.dir"),
  write_caption = NULL
)

Arguments

x

a table formatted with stable().

file

the output file name.

dir

the directory where the file is to be saved.

write_caption

logical; if TRUE and a caption was specified, it will be written in the output file. This argument is not utilized for stable_long objects, where captions are always written if they are specified.

Value

The stable or stable_long object is returned invisibly.


metrumresearchgroup/pmtables documentation built on Dec. 22, 2024, 1:34 a.m.