Displays a list comprised of summarytools objects created with stby
.
# S3 method for stby
print(x, method = "pander", file = "",
append = FALSE, report.title = NA, table.classes = NA,
bootstrap.css = st_options('bootstrap.css'),
custom.css = st_options('custom.css'), silent = FALSE,
footnote = st_options('footnote'),
escape.pipe = st_options('escape.pipe'), …)
One of “pander”, “viewer”, “browser”, or
“render”. For print()
, default is “pander”; for
view()
, default is “viewer”. If “viewer” is used
outside RStudio, “browser” will be used instead. Use
“render” if function is called from an Rmd document.
File name to write output to. Defaults to “”.
Logical. When file
argument is supplied, this indicates
whether to append output to existing file. FALSE
by default.
For html reports, this goes into the
<title>
tag. Defaults to NA
, in which case <title>
will be generic.
Character. Additional classes to assign to output
tables. All Bootstrap css classes can be used. It also allows
user-defined classes (see custom.css parameter). See details
section. NA
by default.
Logical. Set to FALSE
to omit
Bootstrap css. TRUE
by default. To change this default value
globally, see st_options
.
Path to a user-defined .css file. Classes defined in
this file can be used in the table.classes
parameter. NA
by
default. To change this default value globally, see
st_options
.
Hide console messages (such as ignored variables or NaN
to NA
transformations).
footnote in html output. When set to “default”,
this is the package name and version, R version, and current date). Has no
effect when method
is “pander”. Set to “default”,
provide your own text, or set to NA
to omit. To change this default
value globally, see st_options
.
Logical. Set to TRUE
when using style='grid'
and file
argument is supplied if the intent is to generate a text
file that can be converted to other formats using Pandoc. To change
this default value globally, see st_options
.
Additional arguments can be used to override parameters stored as attributes in the object being printed. See Details section.