st_wrap.Rd
Use this function to wrap stable
or stable_long
objects so they can be
included inline in an Rmarkdown document. Typically, call st_asis()
(see
examples).
st_wrap(x, ...)
# S3 method for default
st_wrap(
x,
con = stdout(),
table = TRUE,
center = TRUE,
landscape = is_lscape(x),
caption = NULL,
short = NULL,
float = c("H", "!ht"),
context = c("rmd", "tex"),
asis = FALSE,
...
)
# S3 method for stable_long
st_wrap(x, table = FALSE, ...)
# S3 method for pmtable
st_wrap(x, ...)
pt_wrap(x, ...)
st_asis(x, ..., asis = TRUE, con = NULL)
st_latex(x, con = stdout(), center = TRUE, context = c("rmd", "tex"))
an object that inherits from stable
not used
where to write the output
if TRUE
, the code is wrapped in latex table environment
if TRUE
, center the table
if TRUE
render the table in landscape mode
the long table description
the short table description
the float specifier to if a table
environment is used; change
this to !ht
if the float package cannot be loaded for some reason
if rmd
, then the code is enclosed in a pandoc latex
fenced
code block; if tex
, then the fencing is omitted
if TRUE
, the wrapped table is processed with
knitr::asis_output()
and returned