Create stable from pmtable

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