view | R Documentation |
Visualize results in RStudio's Viewer or in Web Browser
view(x, method = "viewer", 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"), max.tbl.height = Inf, collapse = 0, escape.pipe = st_options("escape.pipe"), ...)
x |
A summarytools object, created by one of the four core
functions ( |
method |
Character. One of “pander”, “viewer”,
“browser”, or “render”. Default value for the |
file |
Character. File name to write output to. Defaults to “”. |
append |
Logical. Append output to existing file (specified using the
file argument). |
report.title |
Character. For html reports, this goes into the
|
table.classes |
Character. Additional html classes to assign to
output tables. Bootstrap css classes can be used. User-defined
classes (see the custom.css argument) are also specified here. See
details section. |
bootstrap.css |
Logical. When generating an html document,
include the “includes/stylesheets/bootstrap.min.css"” file
content inside a |
custom.css |
Character. Path to a custom .css file. Classes
defined in this must also appear in the |
silent |
Logical. Set to |
footnote |
Character. Text to display just after html output
tables. The default value (“default”) produces a two-line
footnote indicating the package's name and version, the R version, and
the current date. Has no effect on ascii or markdown
content. Can contain standard html tags. Set to |
max.tbl.height |
Numeric. Maximum table height in pixels allowed
in rendered |
collapse |
Numeric. |
escape.pipe |
Logical. Set to |
... |
Additional arguments used to override attributes stored in the
object, or to change formatting via |
Creates html outputs and displays them in RStudio's viewer, in a browser, or renders the html code in R markdown documents.
For objects of class “summarytools”, this function is simply
a wrapper around print.summarytools
with
method = "viewer"
.
Objects of class “by”, “stby”, or
“list” are dispatched to the present function, as it can
manage multiple objects, whereas print.summarytools
can only
manage one object at a time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.