as_stable: Create stable from pmtable

View source: R/table-stable.R

as_stableR Documentation

Create stable from pmtable

Description

Create stable from pmtable

Usage

as_stable(x, ...)

## S3 method for class 'pmtable'
as_stable(x, ..., long = FALSE, wrap = FALSE, wrapw = FALSE, con = NULL)

## S3 method for class 'stable'
as_stable(x, ...)

## S3 method for class 'stobject'
as_stable(x, ...)

Arguments

x

object to convert to stable

...

for the pmtable method, these are extra named arguments to pass to stable()

long

if TRUE, render with stable_long() to create a longtable; otherwise, by default process with stable()

wrap

if TRUE, the stable output will be wrapped in a latex table environment using st_wrap()

wrapw

if TRUE, the stable output will be wrapped in a latex table environment and the output will be written to stdout(); use this along with results = "asis" when rendering tables with rmarkdown::render()

con

passed to st_wrap(); used when wrap is TRUE


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